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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 181.2 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008923, allocations: 84.34 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004633, allocations: 6.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3504, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.5623, allocations: 150 MB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/0.5627, allocations: 75.89 kB / 1.369 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00757/0.5703, allocations: 2.41 MB / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.297e-06/0.5704, allocations: 0 / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.5704, allocations: 4 kB / 1.372 GB, free: 9.566 MB / 0.8698 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.000604/0.571, allocations: 371.1 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.5711, allocations: 8.031 kB / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.5711, allocations: 11.91 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.5713, allocations: 171 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.5714, allocations: 29.7 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5715, allocations: 7.938 kB / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.5717, allocations: 77.66 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5718, allocations: 4 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.5718, allocations: 0 / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.5718, allocations: 4 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.572, allocations: 51.95 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.5727, allocations: 324.6 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.5729, allocations: 50.56 kB / 1.373 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.5729, allocations: 4.078 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5729, allocations: 34.56 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.573, allocations: 0 / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004266/0.5734, allocations: 125.5 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.5734, allocations: 51.41 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.5735, allocations: 105 kB / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.5736, allocations: 29.64 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.5737, allocations: 92.05 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.5737, allocations: 11.8 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.5737, allocations: 4 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5738, allocations: 314.8 kB / 1.374 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.5739, allocations: 27.98 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.574, allocations: 37.69 kB / 1.374 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.5741, allocations: 31.98 kB / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5741, allocations: 0 / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002133/0.5744, allocations: 93.59 kB / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5744, allocations: 8 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5744, allocations: 4.031 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5744, allocations: 3.984 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5746, allocations: 12 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5746, allocations: 3.953 kB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.5746, allocations: 15.92 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5747, allocations: 4 kB / 1.374 GB, free: 7.262 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.5748, allocations: 113.6 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.5748, allocations: 11.91 kB / 1.374 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.5749, allocations: 11.89 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5749, allocations: 0 / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5749, allocations: 3.938 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5749, allocations: 4.078 kB / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.5751, allocations: 181.6 kB / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5751, allocations: 0 / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.5752, allocations: 12 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5752, allocations: 0 / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5752, allocations: 4 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5752, allocations: 3.984 kB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5752, allocations: 0 / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.5755, allocations: 191.4 kB / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.5756, allocations: 81.11 kB / 1.374 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.5756, allocations: 0 / 1.374 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.5757, allocations: 16.8 kB / 1.374 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.5758, allocations: 7.984 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5758, allocations: 0 / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.5759, allocations: 95.16 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5759, allocations: 0 / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002074/0.5761, allocations: 12 kB / 1.375 GB, free: 6.43 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.5763, allocations: 99.23 kB / 1.375 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.5765, allocations: 59.95 kB / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5765, allocations: 4.062 kB / 1.375 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.5766, allocations: 31.92 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.5769, allocations: 5.516 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.5773, allocations: 152.6 kB / 1.375 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.5776, allocations: 0.6809 MB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.5776, allocations: 8.703 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.5777, allocations: 11.44 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5777, allocations: 0 / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.002907/0.5806, allocations: 0.6852 MB / 1.376 GB, free: 4.641 MB / 0.8698 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","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches