Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_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_9_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.0009779/0.0009782, 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.000937/0.0009367, allocations: 177.3 kB / 15.95 MB, free: 216 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.538/1.538, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.000375, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8067, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001809/0.8086, allocations: 1.343 MB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1543/0.9629, allocations: 126.5 MB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.9631, allocations: 8 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.9633, allocations: 15.86 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.9635, allocations: 51.84 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.964, allocations: 159.5 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.9642, allocations: 107.8 kB / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.9643, allocations: 21.11 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.9646, allocations: 107.7 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.9647, allocations: 51.83 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.9647, allocations: 7.938 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.965, allocations: 171.8 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.9651, allocations: 15.92 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.9651, allocations: 49.58 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.9653, allocations: 137.7 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.9653, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9653, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9653, allocations: 0 / 1.079 GB, free: 15.09 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008233/0.9662, allocations: 458.8 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.9662, allocations: 8.031 kB / 1.08 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/0.9668, allocations: 59.75 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.9671, allocations: 206.9 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.9671, allocations: 8 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.9671, allocations: 4 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.9676, allocations: 195.9 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.9676, allocations: 3.938 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.9676, allocations: 11.94 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.9676, allocations: 0 / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.9681, allocations: 167.8 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.9693, allocations: 0.8323 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.9697, allocations: 138.5 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.9697, allocations: 0 / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.9698, allocations: 38.56 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.9698, allocations: 0 / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001971/0.9717, allocations: 491.1 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.9718, allocations: 51.41 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.9719, allocations: 147.5 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.972, allocations: 29.7 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.972, allocations: 116.4 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.9721, allocations: 27.56 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.9721, allocations: 4 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9722, allocations: 322.8 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.9725, allocations: 79.94 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.9727, allocations: 112.2 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.973, allocations: 91.88 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.973, allocations: 0 / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001013/0.974, allocations: 298.4 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.974, allocations: 4.125 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9741, allocations: 4 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.9746, allocations: 92.7 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.9749, allocations: 35.95 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.9769, allocations: 1.572 MB / 1.085 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.9772, allocations: 31.83 kB / 1.085 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.9772, allocations: 7.984 kB / 1.085 GB, free: 9.066 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.9773, allocations: 117.9 kB / 1.085 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.9773, allocations: 11.91 kB / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.9784, allocations: 337.6 kB / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9785, allocations: 0 / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.9785, allocations: 0 / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9785, allocations: 0 / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.9787, allocations: 249.4 kB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9788, allocations: 0 / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.979, allocations: 35.97 kB / 1.085 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.9795, allocations: 96.64 kB / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.9795, allocations: 0 / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.9813, allocations: 1.583 MB / 1.087 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9813, allocations: 4.031 kB / 1.087 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.9824, allocations: 400 kB / 1.087 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.362e-05/0.9825, allocations: 108.9 kB / 1.087 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.9825, allocations: 0 / 1.087 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.9827, allocations: 19.98 kB / 1.088 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.9828, allocations: 19.97 kB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.9828, allocations: 4 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.898e-05/0.9829, allocations: 122 kB / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9829, allocations: 0 / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003503/0.9833, allocations: 40 kB / 1.088 GB, free: 5.707 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001786/0.9835, allocations: 119.2 kB / 1.088 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009032/0.9844, allocations: 326.6 kB / 1.088 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9844, allocations: 3.938 kB / 1.088 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.9849, allocations: 246.5 kB / 1.088 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.9852, allocations: 27.88 kB / 1.088 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.986, allocations: 384.2 kB / 1.089 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.9863, allocations: 0.7127 MB / 1.089 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.9865, allocations: 24.88 kB / 1.089 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.9865, allocations: 15.42 kB / 1.089 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.9865, allocations: 0 / 1.089 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of Templates: time 0.006117/0.9927, allocations: 2.844 MB / 1.092 GB, free: 0.9609 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches