Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001367/0.001366, allocations: 179 kB / 498.1 MB, free: 5.734 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.547/1.547, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0009964/0.0009964, allocations: 99.2 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 13.09 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3115, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2411/0.5526, allocations: 176.4 MB / 1.395 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.5529, allocations: 83.94 kB / 1.395 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.005749/0.5587, allocations: 2.203 MB / 1.397 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5587, allocations: 0 / 1.397 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5587, allocations: 4 kB / 1.397 GB, free: 6.594 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005054/0.5592, allocations: 367.2 kB / 1.398 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5593, allocations: 12.03 kB / 1.398 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.5593, allocations: 11.86 kB / 1.398 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5595, allocations: 171 kB / 1.398 GB, free: 5.957 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5595, allocations: 4 kB / 1.398 GB, free: 5.953 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5595, allocations: 4 kB / 1.398 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.5598, allocations: 89.56 kB / 1.398 GB, free: 5.855 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5598, allocations: 8 kB / 1.398 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.5598, allocations: 0 / 1.398 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5598, allocations: 11.89 kB / 1.398 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.5601, allocations: 87.92 kB / 1.398 GB, free: 5.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.5606, allocations: 284.7 kB / 1.398 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.5608, allocations: 66.55 kB / 1.398 GB, free: 5.348 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.5609, allocations: 89.19 kB / 1.399 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.561, allocations: 34.52 kB / 1.399 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.561, allocations: 0 / 1.399 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0005693/0.5616, allocations: 173.4 kB / 1.399 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.5616, allocations: 51.41 kB / 1.399 GB, free: 4.961 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.5617, allocations: 105 kB / 1.399 GB, free: 4.852 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5617, allocations: 29.7 kB / 1.399 GB, free: 4.816 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.5618, allocations: 88.14 kB / 1.399 GB, free: 4.727 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.5618, allocations: 15.83 kB / 1.399 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.5618, allocations: 0 / 1.399 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5619, allocations: 318.8 kB / 1.399 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5621, allocations: 39.95 kB / 1.399 GB, free: 4.352 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.5623, allocations: 44.16 kB / 1.399 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5624, allocations: 48.05 kB / 1.399 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5624, allocations: 0 / 1.399 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003354/0.5628, allocations: 129.5 kB / 1.4 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5628, allocations: 4 kB / 1.4 GB, free: 4.125 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5628, allocations: 3.953 kB / 1.4 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5628, allocations: 4 kB / 1.4 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.563, allocations: 15.98 kB / 1.4 GB, free: 4.102 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.563, allocations: 0 / 1.4 GB, free: 4.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.5631, allocations: 23.98 kB / 1.4 GB, free: 4.078 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.5631, allocations: 0 / 1.4 GB, free: 4.078 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.985e-05/0.5632, allocations: 113.8 kB / 1.4 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.5632, allocations: 7.906 kB / 1.4 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.5636, allocations: 129.5 kB / 1.4 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5636, allocations: 7.891 kB / 1.4 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5636, allocations: 0 / 1.4 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5636, allocations: 4 kB / 1.4 GB, free: 3.805 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.5638, allocations: 173.6 kB / 1.4 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5638, allocations: 0 / 1.4 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.5639, allocations: 19.98 kB / 1.4 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.564, allocations: 0 / 1.4 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.564, allocations: 4 kB / 1.4 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.564, allocations: 0 / 1.4 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.564, allocations: 3.953 kB / 1.4 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.5644, allocations: 219.5 kB / 1.4 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.5644, allocations: 81.02 kB / 1.4 GB, free: 3.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.5645, allocations: 7.938 kB / 1.4 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.5646, allocations: 15.98 kB / 1.4 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.5646, allocations: 7.938 kB / 1.4 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.5646, allocations: 0 / 1.4 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.064e-05/0.5647, allocations: 99.27 kB / 1.4 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5647, allocations: 0 / 1.4 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002308/0.565, allocations: 20 kB / 1.4 GB, free: 3.082 MB / 0.9011 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 (3): * Single equations (assignments): 3 * 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.0002393/0.5652, allocations: 142.9 kB / 1.401 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.5656, allocations: 91.92 kB / 1.401 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5656, allocations: 0 / 1.401 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.5657, allocations: 43.97 kB / 1.401 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.5659, allocations: 16.75 kB / 1.401 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.5663, allocations: 180.4 kB / 1.401 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5666, allocations: 0.6887 MB / 1.402 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.5667, allocations: 336 / 1.402 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.5667, allocations: 11.44 kB / 1.402 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of SimCode: time 2.51e-07/0.5667, allocations: 0 / 1.402 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of Templates: time 0.00369/0.5704, allocations: 1.258 MB / 1.403 GB, free: 0.6016 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches