Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 104.7 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 198 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 65.91 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3531, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003352/0.3565, allocations: 1.558 MB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003814/0.3569, allocations: 123.7 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.357, allocations: 0 / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.3571, allocations: 3.938 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.3572, allocations: 11.97 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.3576, allocations: 59.86 kB / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3577, allocations: 63.78 kB / 0.9515 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3578, allocations: 23.97 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.3579, allocations: 23.92 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.358, allocations: 23.92 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.358, allocations: 4 kB / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.358, allocations: 4 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.3581, allocations: 15.97 kB / 0.9516 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.3581, allocations: 23.86 kB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.3582, allocations: 35.94 kB / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3582, allocations: 0 / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3583, allocations: 0 / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3583, allocations: 4 kB / 0.9517 GB, free: 7.262 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005943/0.3589, allocations: 375.6 kB / 0.952 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3589, allocations: 12.03 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.359, allocations: 4.844 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3591, allocations: 180.2 kB / 0.9522 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.3592, allocations: 30.27 kB / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.3593, allocations: 4.375 kB / 0.9523 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.3596, allocations: 78.2 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3596, allocations: 3.938 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3596, allocations: 4 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3597, allocations: 0 / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.3599, allocations: 43.95 kB / 0.9524 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.3606, allocations: 324.6 kB / 0.9527 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3607, allocations: 46.55 kB / 0.9527 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.3608, allocations: 32.92 kB / 0.9528 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3608, allocations: 3.984 kB / 0.9528 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3609, allocations: 38.56 kB / 0.9528 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3609, allocations: 0 / 0.9528 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003916/0.3613, allocations: 97.58 kB / 0.9529 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3613, allocations: 55.41 kB / 0.953 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.3614, allocations: 105.8 kB / 0.9531 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3615, allocations: 25.7 kB / 0.9531 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.3615, allocations: 107.9 kB / 0.9532 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3616, allocations: 7.812 kB / 0.9532 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3616, allocations: 17.72 kB / 0.9532 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3617, allocations: 322.8 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.3618, allocations: 19.98 kB / 0.9535 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.3619, allocations: 37.69 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3621, allocations: 57.62 kB / 0.9536 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3621, allocations: 0 / 0.9536 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002257/0.3623, allocations: 81.66 kB / 0.9537 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3624, allocations: 9.875 kB / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3624, allocations: 0 / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3624, allocations: 4.031 kB / 0.9537 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3625, allocations: 15.92 kB / 0.9537 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3625, allocations: 4 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.3626, allocations: 7.984 kB / 0.9537 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3626, allocations: 0 / 0.9537 GB, free: 4.906 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.3627, allocations: 119.8 kB / 0.9539 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.3628, allocations: 3.906 kB / 0.9539 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.3628, allocations: 15.84 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3628, allocations: 4 kB / 0.9539 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3628, allocations: 8.109 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3628, allocations: 0 / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3631, allocations: 177.7 kB / 0.9541 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3631, allocations: 3.984 kB / 0.9541 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.3631, allocations: 8 kB / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3632, allocations: 0 / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3632, allocations: 0 / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3632, allocations: 0 / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3632, allocations: 0 / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.3634, allocations: 187.4 kB / 0.9543 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3635, allocations: 84.95 kB / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3635, allocations: 0 / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3637, allocations: 11.98 kB / 0.9543 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3637, allocations: 4 kB / 0.9543 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.3637, allocations: 7.984 kB / 0.9544 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.3638, allocations: 87.28 kB / 0.9544 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3638, allocations: 0 / 0.9544 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002481/0.364, allocations: 12 kB / 0.9545 GB, free: 4.086 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.3642, allocations: 99.23 kB / 0.9545 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3644, allocations: 56.11 kB / 0.9546 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3644, allocations: 0 / 0.9546 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.3645, allocations: 28.14 kB / 0.9546 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3649, allocations: 14.42 kB / 0.9546 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.3652, allocations: 187.1 kB / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3655, allocations: 0.6883 MB / 0.9555 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.3655, allocations: 11.44 kB / 0.9555 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.3655, allocations: 0 / 0.9555 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of Templates: time 0.002353/0.3679, allocations: 0.8484 MB / 0.9563 GB, free: 2.105 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches