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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.903/1.903, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001035/0.001035, allocations: 181.2 kB / 487 MB, free: 5.355 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.228/1.228, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.000886, allocations: 103 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.4e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2309, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.886/4.117, allocations: 1.921 GB / 3.126 GB, free: 407.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/4.117, allocations: 71.91 kB / 3.126 GB, free: 407.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.09084/4.208, allocations: 47.47 MB / 3.172 GB, free: 359.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.257e-06/4.208, allocations: 4 kB / 3.172 GB, free: 359.5 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.0009257/4.209, allocations: 0.553 MB / 3.173 GB, free: 358.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/4.209, allocations: 9.031 kB / 3.173 GB, free: 358.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/4.21, allocations: 151.5 kB / 3.173 GB, free: 358.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/4.21, allocations: 226.7 kB / 3.173 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/4.21, allocations: 4 kB / 3.173 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/4.21, allocations: 12 kB / 3.173 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004448/4.211, allocations: 320.6 kB / 3.174 GB, free: 358.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/4.211, allocations: 281.8 kB / 3.174 GB, free: 357.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/4.211, allocations: 7.938 kB / 3.174 GB, free: 357.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/4.211, allocations: 3.984 kB / 3.174 GB, free: 357.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/4.211, allocations: 16 kB / 3.174 GB, free: 357.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/4.213, allocations: 1.12 MB / 3.175 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/4.213, allocations: 170.7 kB / 3.175 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/4.213, allocations: 82.7 kB / 3.175 GB, free: 356.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/4.213, allocations: 360.4 kB / 3.176 GB, free: 355.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/4.213, allocations: 34.56 kB / 3.176 GB, free: 355.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/4.213, allocations: 0 / 3.176 GB, free: 355.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0004476/4.214, allocations: 184 kB / 3.176 GB, free: 355.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/4.214, allocations: 59.33 kB / 3.176 GB, free: 355.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/4.214, allocations: 148.1 kB / 3.176 GB, free: 355.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/4.214, allocations: 25.7 kB / 3.176 GB, free: 355.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/4.214, allocations: 147.8 kB / 3.176 GB, free: 355.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/4.214, allocations: 78.94 kB / 3.176 GB, free: 355.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/4.214, allocations: 0 / 3.176 GB, free: 355.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/4.214, allocations: 322.8 kB / 3.176 GB, free: 354.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/4.214, allocations: 64.23 kB / 3.177 GB, free: 354.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/4.214, allocations: 152.2 kB / 3.177 GB, free: 354.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/4.215, allocations: 95.25 kB / 3.177 GB, free: 354.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/4.215, allocations: 0 / 3.177 GB, free: 354.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003752/4.215, allocations: 260.1 kB / 3.177 GB, free: 354.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/4.215, allocations: 4 kB / 3.177 GB, free: 354.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/4.215, allocations: 4.109 kB / 3.177 GB, free: 354.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/4.215, allocations: 11.92 kB / 3.177 GB, free: 354.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/4.215, allocations: 55.83 kB / 3.177 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/4.215, allocations: 7.938 kB / 3.177 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/4.216, allocations: 23.73 kB / 3.177 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/4.216, allocations: 19.98 kB / 3.177 GB, free: 354.2 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 () * 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 7.139e-05/4.216, allocations: 113 kB / 3.177 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/4.216, allocations: 19.81 kB / 3.177 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/4.216, allocations: 218.3 kB / 3.178 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/4.216, allocations: 4 kB / 3.178 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/4.216, allocations: 0 / 3.178 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/4.216, allocations: 0 / 3.178 GB, free: 353.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/4.217, allocations: 0.4926 MB / 3.178 GB, free: 353.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/4.217, allocations: 0 / 3.178 GB, free: 353.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/4.217, allocations: 39.92 kB / 3.178 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/4.217, allocations: 0 / 3.178 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/4.217, allocations: 11.94 kB / 3.178 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/4.217, allocations: 0 / 3.178 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/4.217, allocations: 3.906 kB / 3.178 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000314/4.217, allocations: 323 kB / 3.178 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/4.217, allocations: 116.8 kB / 3.178 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/4.217, allocations: 0 / 3.178 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/4.218, allocations: 15.98 kB / 3.178 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/4.218, allocations: 11.98 kB / 3.178 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/4.218, allocations: 19.89 kB / 3.179 GB, free: 352.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.694e-05/4.218, allocations: 111.2 kB / 3.179 GB, free: 352.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006058/4.218, allocations: 135.9 kB / 3.179 GB, free: 352.5 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 () * 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.0008297/4.219, allocations: 0.7424 MB / 3.179 GB, free: 351.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002925/4.22, allocations: 188.3 kB / 3.18 GB, free: 351.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/4.22, allocations: 4.062 kB / 3.18 GB, free: 351.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/4.22, allocations: 79.91 kB / 3.18 GB, free: 351.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/4.22, allocations: 43.95 kB / 3.18 GB, free: 351.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/4.221, allocations: 230 kB / 3.18 GB, free: 351.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/4.221, allocations: 0.7687 MB / 3.181 GB, free: 350.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/4.221, allocations: 4 kB / 3.181 GB, free: 350.4 MB / 1.151 GB Notification: Performance of Templates: time 0.01092/4.232, allocations: 7.557 MB / 3.188 GB, free: 342.8 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) "" Variables in the reference: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 Variables in the result:MM,TMax,TMed,TMin,X[1],X[2],basPro.preferredMediumStates,basPro.standardOrderComponents,beta,cp,cv,d,ddTp,dddX[1],ddpT,errAbs,eta,f,g,h,hIse,hLiq,kappa,lambda,p,pMed,s,time,u