Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, 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.001107/0.001107, allocations: 191.5 kB / 498.1 MB, free: 5.758 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.725/1.725, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0008859/0.0008859, allocations: 94.67 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005179/0.0005179, allocations: 8.594 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3622, allocations: 142.3 MB / 1.223 GB, free: 89.64 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.713/6.075, allocations: 1.921 GB / 3.144 GB, free: 329.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.075, allocations: 73.72 kB / 3.144 GB, free: 329.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09551/6.171, allocations: 48.14 MB / 3.191 GB, free: 322.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.315e-06/6.171, allocations: 0 / 3.191 GB, free: 322.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.171e-05/6.171, allocations: 3.906 kB / 3.191 GB, free: 322.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001067/6.172, allocations: 0.5606 MB / 3.192 GB, free: 321.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/6.172, allocations: 11.62 kB / 3.192 GB, free: 321.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/6.173, allocations: 131.8 kB / 3.192 GB, free: 321.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/6.174, allocations: 223.9 kB / 3.192 GB, free: 321.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/6.174, allocations: 15.62 kB / 3.192 GB, free: 321.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/6.174, allocations: 15.16 kB / 3.192 GB, free: 321.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/6.174, allocations: 334.5 kB / 3.193 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/6.174, allocations: 0 / 3.193 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/6.174, allocations: 14.73 kB / 3.193 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/6.174, allocations: 19.3 kB / 3.193 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/6.175, allocations: 321.5 kB / 3.193 GB, free: 321.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/6.176, allocations: 1.161 MB / 3.194 GB, free: 320.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/6.177, allocations: 189.9 kB / 3.194 GB, free: 320.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004426/6.177, allocations: 454.4 kB / 3.195 GB, free: 320 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/6.177, allocations: 36.78 kB / 3.195 GB, free: 320 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/6.177, allocations: 4 kB / 3.195 GB, free: 320 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0006519/6.178, allocations: 339.6 kB / 3.195 GB, free: 319.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/6.178, allocations: 63.27 kB / 3.195 GB, free: 319.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/6.178, allocations: 187.5 kB / 3.195 GB, free: 319.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/6.178, allocations: 33.05 kB / 3.195 GB, free: 319.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/6.178, allocations: 140.8 kB / 3.196 GB, free: 319.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/6.178, allocations: 71.92 kB / 3.196 GB, free: 319.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/6.178, allocations: 7.594 kB / 3.196 GB, free: 319.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/6.179, allocations: 335.9 kB / 3.196 GB, free: 319.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/6.179, allocations: 67.77 kB / 3.196 GB, free: 319.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/6.179, allocations: 154.6 kB / 3.196 GB, free: 319.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/6.179, allocations: 92.22 kB / 3.196 GB, free: 319 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/6.179, allocations: 0 / 3.196 GB, free: 319 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004291/6.179, allocations: 285.5 kB / 3.196 GB, free: 319 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/6.179, allocations: 7.5 kB / 3.196 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/6.179, allocations: 2.875 kB / 3.196 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/6.179, allocations: 4.875 kB / 3.197 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/6.18, allocations: 58.94 kB / 3.197 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/6.18, allocations: 8.688 kB / 3.197 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/6.18, allocations: 44.97 kB / 3.197 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/6.18, allocations: 12.06 kB / 3.197 GB, free: 318.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001055/6.18, allocations: 138.4 kB / 3.197 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/6.18, allocations: 25.09 kB / 3.197 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/6.181, allocations: 244.7 kB / 3.197 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/6.181, allocations: 6.375 kB / 3.197 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/6.181, allocations: 0 / 3.197 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/6.181, allocations: 4.641 kB / 3.197 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/6.181, allocations: 0.5471 MB / 3.198 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/6.181, allocations: 3.422 kB / 3.198 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/6.182, allocations: 30.7 kB / 3.198 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/6.182, allocations: 1.156 kB / 3.198 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/6.182, allocations: 5.875 kB / 3.198 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/6.182, allocations: 10.06 kB / 3.198 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/6.182, allocations: 1 kB / 3.198 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/6.182, allocations: 343.3 kB / 3.198 GB, free: 318.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/6.182, allocations: 123.1 kB / 3.198 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/6.182, allocations: 6.188 kB / 3.198 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/6.182, allocations: 15.95 kB / 3.198 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/6.183, allocations: 13.94 kB / 3.198 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/6.183, allocations: 12.41 kB / 3.198 GB, free: 318.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001133/6.183, allocations: 149 kB / 3.198 GB, free: 318 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.1e-07/6.183, allocations: 0 / 3.198 GB, free: 318 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007182/6.183, allocations: 155.1 kB / 3.198 GB, free: 318 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009781/6.184, allocations: 0.6613 MB / 3.199 GB, free: 317.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003615/6.185, allocations: 193.2 kB / 3.199 GB, free: 317.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/6.185, allocations: 0 / 3.199 GB, free: 317.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/6.185, allocations: 92.19 kB / 3.199 GB, free: 317.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/6.185, allocations: 89.48 kB / 3.199 GB, free: 317.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/6.186, allocations: 0.5277 MB / 3.2 GB, free: 317.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/6.186, allocations: 0.733 MB / 3.201 GB, free: 316.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003307/6.187, allocations: 58.56 kB / 3.201 GB, free: 316.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/6.187, allocations: 22.75 kB / 3.201 GB, free: 316.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.52e-07/6.187, allocations: 0 / 3.201 GB, free: 316.7 MB / 1.151 GB Notification: Performance of Templates: time 0.01779/6.205, allocations: 12.09 MB / 3.213 GB, free: 314.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & ./Buildings_9_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","../files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches