Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6782, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003752/0.682, allocations: 1.737 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.8508, allocations: 147.4 MB / 1.163 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.851, allocations: 0 / 1.163 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.8512, allocations: 19.86 kB / 1.163 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.8515, allocations: 47.69 kB / 1.163 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.852, allocations: 163.5 kB / 1.163 GB, free: 12.88 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.8522, allocations: 151.5 kB / 1.163 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.8524, allocations: 31.08 kB / 1.163 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.8543, allocations: 187.2 kB / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.8545, allocations: 51.77 kB / 1.164 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.8545, allocations: 8 kB / 1.164 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.8548, allocations: 171.7 kB / 1.164 GB, free: 12.31 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.8549, allocations: 19.91 kB / 1.164 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.855, allocations: 51.72 kB / 1.164 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.8552, allocations: 143.7 kB / 1.164 GB, free: 12.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.8552, allocations: 3.984 kB / 1.164 GB, free: 12.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8552, allocations: 0 / 1.164 GB, free: 12.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.8552, allocations: 0 / 1.164 GB, free: 12.09 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000876/0.8561, allocations: 467 kB / 1.164 GB, free: 11.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.8561, allocations: 8.031 kB / 1.164 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.8568, allocations: 60.69 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.857, allocations: 202.7 kB / 1.165 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.8571, allocations: 8 kB / 1.165 GB, free: 11.28 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.8571, allocations: 8 kB / 1.165 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.8575, allocations: 183.8 kB / 1.165 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8576, allocations: 0 / 1.165 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.8576, allocations: 4 kB / 1.165 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.8576, allocations: 8 kB / 1.165 GB, free: 11.06 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.8581, allocations: 139.8 kB / 1.165 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.8592, allocations: 0.832 MB / 1.166 GB, free: 10.01 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.8597, allocations: 126.5 kB / 1.166 GB, free: 9.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.8599, allocations: 84.78 kB / 1.166 GB, free: 9.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.8599, allocations: 4 kB / 1.166 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.86, allocations: 34.5 kB / 1.166 GB, free: 9.746 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.86, allocations: 0 / 1.166 GB, free: 9.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.00188/0.8619, allocations: 463.2 kB / 1.166 GB, free: 9.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.8619, allocations: 51.41 kB / 1.166 GB, free: 9.203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.862, allocations: 156.4 kB / 1.167 GB, free: 9.039 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.8621, allocations: 29.64 kB / 1.167 GB, free: 9.004 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.8621, allocations: 112.2 kB / 1.167 GB, free: 8.891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.8622, allocations: 31.55 kB / 1.167 GB, free: 8.859 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.8623, allocations: 29.7 kB / 1.167 GB, free: 8.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8624, allocations: 322.8 kB / 1.167 GB, free: 8.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.8626, allocations: 71.94 kB / 1.167 GB, free: 8.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.8629, allocations: 104.2 kB / 1.167 GB, free: 8.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.8633, allocations: 176.1 kB / 1.167 GB, free: 8.125 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8633, allocations: 0 / 1.167 GB, free: 8.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009989/0.8644, allocations: 278.1 kB / 1.168 GB, free: 7.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.8644, allocations: 11.92 kB / 1.168 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8644, allocations: 4 kB / 1.168 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/0.865, allocations: 88.88 kB / 1.168 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.8652, allocations: 31.91 kB / 1.168 GB, free: 7.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.8672, allocations: 1.564 MB / 1.169 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.8675, allocations: 19.83 kB / 1.169 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.8675, allocations: 11.98 kB / 1.169 GB, free: 5.98 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.8676, allocations: 126.4 kB / 1.17 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.8676, allocations: 7.906 kB / 1.17 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.8687, allocations: 306.9 kB / 1.17 GB, free: 5.523 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8687, allocations: 4 kB / 1.17 GB, free: 5.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.8687, allocations: 0 / 1.17 GB, free: 5.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.8687, allocations: 3.938 kB / 1.17 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.869, allocations: 241.4 kB / 1.17 GB, free: 5.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.869, allocations: 0 / 1.17 GB, free: 5.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.8692, allocations: 39.89 kB / 1.17 GB, free: 5.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/0.8697, allocations: 80.91 kB / 1.17 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.8698, allocations: 8 kB / 1.17 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.8716, allocations: 1.579 MB / 1.172 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8716, allocations: 0 / 1.172 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.8726, allocations: 380 kB / 1.172 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.8727, allocations: 100.8 kB / 1.172 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.8727, allocations: 15.98 kB / 1.172 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.8729, allocations: 11.98 kB / 1.172 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.873, allocations: 11.98 kB / 1.172 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.873, allocations: 7.984 kB / 1.172 GB, free: 2.832 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.499e-05/0.8731, allocations: 117 kB / 1.172 GB, free: 2.719 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8731, allocations: 0 / 1.172 GB, free: 2.719 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003357/0.8735, allocations: 44 kB / 1.172 GB, free: 2.676 MB / 0.92 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001991/0.8737, allocations: 115.2 kB / 1.173 GB, free: 2.551 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008619/0.8745, allocations: 306.7 kB / 1.173 GB, free: 2.238 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8746, allocations: 4 kB / 1.173 GB, free: 2.234 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.8751, allocations: 226.5 kB / 1.173 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.8754, allocations: 27.92 kB / 1.173 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.8763, allocations: 381 kB / 1.173 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.8766, allocations: 0.7088 MB / 1.174 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.8766, allocations: 19.42 kB / 1.174 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.8766, allocations: 0 / 1.174 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of Templates: time 0.005032/0.8817, allocations: 2.728 MB / 1.177 GB, free: 14.09 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches