Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.5 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009877/0.0009879, allocations: 100.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8.531 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2435, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.051/5.294, allocations: 2.192 GB / 3.092 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/5.294, allocations: 92.31 kB / 3.092 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1578/5.452, allocations: 88.07 MB / 3.178 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.226e-06/5.452, allocations: 0 / 3.178 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.48e-05/5.452, allocations: 8 kB / 3.178 GB, free: 196.7 MB / 0.8855 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.00088/5.453, allocations: 0.5091 MB / 3.179 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/5.453, allocations: 8.031 kB / 3.179 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/5.454, allocations: 79.67 kB / 3.179 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/5.454, allocations: 221.5 kB / 3.179 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/5.454, allocations: 41.72 kB / 3.179 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/5.454, allocations: 19.11 kB / 3.179 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/5.455, allocations: 267 kB / 3.179 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/5.455, allocations: 4 kB / 3.179 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/5.455, allocations: 7.766 kB / 3.179 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/5.455, allocations: 7.984 kB / 3.179 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/5.455, allocations: 177 kB / 3.18 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/5.457, allocations: 1.187 MB / 3.181 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/5.457, allocations: 217.8 kB / 3.181 GB, free: 194 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/5.457, allocations: 4 kB / 3.181 GB, free: 194 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/5.457, allocations: 31.56 kB / 3.181 GB, free: 194 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/5.457, allocations: 4 kB / 3.181 GB, free: 194 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.002493/5.46, allocations: 0.6325 MB / 3.182 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/5.46, allocations: 59.34 kB / 3.182 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/5.46, allocations: 187.9 kB / 3.182 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/5.46, allocations: 25.7 kB / 3.182 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/5.46, allocations: 137.5 kB / 3.182 GB, free: 193 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/5.46, allocations: 46.39 kB / 3.182 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/5.46, allocations: 3.938 kB / 3.182 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/5.46, allocations: 322.6 kB / 3.182 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/5.461, allocations: 78.44 kB / 3.182 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/5.461, allocations: 145.9 kB / 3.183 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/5.461, allocations: 86.11 kB / 3.183 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/5.461, allocations: 4 kB / 3.183 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001355/5.462, allocations: 394 kB / 3.183 GB, free: 192 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/5.462, allocations: 4 kB / 3.183 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/5.462, allocations: 4 kB / 3.183 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/5.463, allocations: 164.8 kB / 3.183 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/5.464, allocations: 39.91 kB / 3.183 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/5.467, allocations: 3.063 MB / 3.186 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/5.467, allocations: 35.48 kB / 3.186 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/5.467, allocations: 15.94 kB / 3.186 GB, free: 188.6 MB / 0.8855 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.0001211/5.467, allocations: 132.3 kB / 3.186 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/5.467, allocations: 11.91 kB / 3.186 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/5.469, allocations: 388.4 kB / 3.187 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/5.469, allocations: 4 kB / 3.187 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/5.469, allocations: 4 kB / 3.187 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/5.469, allocations: 0 / 3.187 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/5.469, allocations: 273.6 kB / 3.187 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/5.469, allocations: 7.938 kB / 3.187 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/5.469, allocations: 19.98 kB / 3.187 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009161/5.47, allocations: 167.8 kB / 3.187 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/5.47, allocations: 3.812 kB / 3.187 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/5.473, allocations: 3.106 MB / 3.19 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/5.473, allocations: 7.938 kB / 3.19 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/5.474, allocations: 437.3 kB / 3.191 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/5.474, allocations: 116.7 kB / 3.191 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/5.474, allocations: 4 kB / 3.191 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/5.474, allocations: 15.11 kB / 3.191 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/5.474, allocations: 22.84 kB / 3.191 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/5.474, allocations: 6.562 kB / 3.191 GB, free: 184 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001546/5.475, allocations: 150.4 kB / 3.191 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/5.475, allocations: 4 kB / 3.191 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006883/5.475, allocations: 127.5 kB / 3.191 GB, free: 183.8 MB / 0.8855 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.0008902/5.476, allocations: 0.6981 MB / 3.192 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009493/5.477, allocations: 457.1 kB / 3.192 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/5.477, allocations: 0 / 3.192 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/5.478, allocations: 368.6 kB / 3.193 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/5.478, allocations: 52.22 kB / 3.193 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/5.479, allocations: 471.2 kB / 3.193 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/5.479, allocations: 0.7422 MB / 3.194 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001888/5.479, allocations: 41.88 kB / 3.194 GB, free: 181 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/5.479, allocations: 23.38 kB / 3.194 GB, free: 181 MB / 0.8855 GB Notification: Performance of SimCode: time 4.5e-07/5.479, allocations: 0 / 3.194 GB, free: 181 MB / 0.8855 GB Notification: Performance of Templates: time 0.01651/5.496, allocations: 14.13 MB / 3.208 GB, free: 166.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches