Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001434/0.001434, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.556/2.556, allocations: 390.2 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7801, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001685/0.7818, allocations: 1.542 MB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1631/0.9449, allocations: 131 MB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.9453, allocations: 0 / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.9456, allocations: 19.86 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.946, allocations: 71.8 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.9468, allocations: 223.4 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.9471, allocations: 171.7 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.9473, allocations: 46.42 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.9477, allocations: 155.6 kB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.9479, allocations: 79.55 kB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.9479, allocations: 4 kB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.9484, allocations: 195.7 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.9485, allocations: 27.91 kB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.9486, allocations: 53.58 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.9491, allocations: 197.5 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.9491, allocations: 0 / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9491, allocations: 0 / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9491, allocations: 0 / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001015/0.9501, allocations: 0.4988 MB / 1.085 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.9502, allocations: 12.02 kB / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008694/0.951, allocations: 83.73 kB / 1.085 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.9513, allocations: 228.4 kB / 1.085 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.9514, allocations: 38.03 kB / 1.085 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.9514, allocations: 16 kB / 1.085 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.9519, allocations: 270.5 kB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.952, allocations: 0 / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.952, allocations: 12 kB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.952, allocations: 8 kB / 1.085 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.9525, allocations: 171.8 kB / 1.085 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.9541, allocations: 1.192 MB / 1.087 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.9549, allocations: 206.7 kB / 1.087 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.9549, allocations: 7.984 kB / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.955, allocations: 42.5 kB / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.955, allocations: 0 / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.00255/0.9575, allocations: 0.6377 MB / 1.087 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.9576, allocations: 59.34 kB / 1.087 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.9578, allocations: 218.9 kB / 1.088 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.9578, allocations: 25.7 kB / 1.088 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.9579, allocations: 132.1 kB / 1.088 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.958, allocations: 47.36 kB / 1.088 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.958, allocations: 4 kB / 1.088 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9581, allocations: 330.8 kB / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.9583, allocations: 75.94 kB / 1.088 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.9585, allocations: 127.7 kB / 1.088 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.9588, allocations: 95.92 kB / 1.088 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9588, allocations: 0 / 1.088 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001361/0.9602, allocations: 382.8 kB / 1.089 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.9602, allocations: 4 kB / 1.089 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9602, allocations: 12.16 kB / 1.089 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.9613, allocations: 165.5 kB / 1.089 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.9616, allocations: 47.91 kB / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003787/0.9654, allocations: 3.052 MB / 1.092 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.9658, allocations: 39.88 kB / 1.092 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.9658, allocations: 7.984 kB / 1.092 GB, free: 1.293 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.966, allocations: 137.7 kB / 1.092 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.966, allocations: 23.67 kB / 1.092 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.9674, allocations: 374.1 kB / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.9675, allocations: 8 kB / 1.093 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9675, allocations: 3.953 kB / 1.093 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9675, allocations: 0 / 1.093 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.9678, allocations: 277.4 kB / 1.093 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.9678, allocations: 0 / 1.093 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.968, allocations: 23.98 kB / 1.093 GB, free: 400 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009392/0.9689, allocations: 165.5 kB / 1.093 GB, free: 228 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.9689, allocations: 11.94 kB / 1.093 GB, free: 216 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.9725, allocations: 3.096 MB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9725, allocations: 3.938 kB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.9737, allocations: 445.9 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.9739, allocations: 112.9 kB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.9739, allocations: 8 kB / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.9742, allocations: 15.98 kB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.9743, allocations: 19.97 kB / 1.097 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.9743, allocations: 4.125 kB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001629/0.9745, allocations: 167.1 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9745, allocations: 0 / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004281/0.9749, allocations: 79.84 kB / 1.097 GB, free: 11.96 MB / 0.8575 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001718/0.9751, allocations: 111.2 kB / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.9761, allocations: 449.5 kB / 1.097 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9761, allocations: 4 kB / 1.097 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.9768, allocations: 365.3 kB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.9772, allocations: 45.2 kB / 1.098 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.9781, allocations: 0.5057 MB / 1.098 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.9785, allocations: 0.744 MB / 1.099 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00022/0.9787, allocations: 42.09 kB / 1.099 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.9788, allocations: 19.44 kB / 1.099 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.9788, allocations: 0 / 1.099 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of Templates: time 0.008874/0.9877, allocations: 4.789 MB / 1.104 GB, free: 4.863 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches