Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.072/2.072, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001065/0.001065, allocations: 189.2 kB / 490.8 MB, free: 1.945 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.297/1.297, allocations: 221.3 MB / 0.7863 GB, free: 13.74 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.0009045/0.0009045, allocations: 84.62 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.644e-06/7.674e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2571, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.194/4.451, allocations: 1.921 GB / 3.133 GB, free: 416.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/4.452, allocations: 71.97 kB / 3.133 GB, free: 416.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.09208/4.544, allocations: 47.48 MB / 3.179 GB, free: 368.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.026e-05/4.544, allocations: 4 kB / 3.179 GB, free: 368.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.00108/4.545, allocations: 0.5491 MB / 3.18 GB, free: 367.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/4.545, allocations: 12.03 kB / 3.18 GB, free: 367.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/4.546, allocations: 155.5 kB / 3.18 GB, free: 367.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/4.547, allocations: 222.7 kB / 3.18 GB, free: 367.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/4.547, allocations: 8 kB / 3.18 GB, free: 367.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/4.547, allocations: 11.94 kB / 3.18 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004779/4.547, allocations: 324.6 kB / 3.181 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/4.548, allocations: 285.8 kB / 3.181 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/4.548, allocations: 3.938 kB / 3.181 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/4.548, allocations: 4 kB / 3.181 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/4.548, allocations: 8 kB / 3.181 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/4.549, allocations: 1.109 MB / 3.182 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/4.55, allocations: 190.6 kB / 3.182 GB, free: 365.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/4.55, allocations: 77.02 kB / 3.182 GB, free: 365 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/4.55, allocations: 356.4 kB / 3.183 GB, free: 364.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/4.55, allocations: 38.55 kB / 3.183 GB, free: 364.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 2.315e-06/4.55, allocations: 0 / 3.183 GB, free: 364.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.000496/4.551, allocations: 189.4 kB / 3.183 GB, free: 364.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/4.551, allocations: 55.41 kB / 3.183 GB, free: 364.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/4.551, allocations: 152.4 kB / 3.183 GB, free: 364.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/4.551, allocations: 25.7 kB / 3.183 GB, free: 364.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/4.551, allocations: 147.8 kB / 3.183 GB, free: 364 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/4.551, allocations: 66.95 kB / 3.183 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/4.551, allocations: 0 / 3.183 GB, free: 363.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/4.551, allocations: 330.8 kB / 3.184 GB, free: 363.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.422e-05/4.551, allocations: 68.25 kB / 3.184 GB, free: 363.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/4.551, allocations: 147.7 kB / 3.184 GB, free: 363.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/4.551, allocations: 92.62 kB / 3.184 GB, free: 363.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/4.551, allocations: 0 / 3.184 GB, free: 363.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004044/4.552, allocations: 259.6 kB / 3.184 GB, free: 363 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/4.552, allocations: 8 kB / 3.184 GB, free: 363 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/4.552, allocations: 0 / 3.184 GB, free: 363 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/4.552, allocations: 8 kB / 3.184 GB, free: 363 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/4.552, allocations: 51.92 kB / 3.184 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/4.552, allocations: 11.92 kB / 3.184 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/4.552, allocations: 24.12 kB / 3.184 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/4.553, allocations: 12 kB / 3.184 GB, free: 362.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 () * 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 8.897e-05/4.553, allocations: 120 kB / 3.184 GB, free: 362.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/4.553, allocations: 15.81 kB / 3.184 GB, free: 362.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/4.553, allocations: 225.1 kB / 3.185 GB, free: 362.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/4.553, allocations: 3.938 kB / 3.185 GB, free: 362.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/4.553, allocations: 0 / 3.185 GB, free: 362.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/4.553, allocations: 11.98 kB / 3.185 GB, free: 362.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/4.554, allocations: 0.4887 MB / 3.185 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/4.554, allocations: 0 / 3.185 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/4.554, allocations: 35.92 kB / 3.185 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/4.554, allocations: 7.938 kB / 3.185 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/4.554, allocations: 3.984 kB / 3.185 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/4.554, allocations: 4 kB / 3.185 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/4.554, allocations: 4.062 kB / 3.185 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000347/4.554, allocations: 322.2 kB / 3.185 GB, free: 361.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/4.554, allocations: 120.8 kB / 3.186 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/4.554, allocations: 0 / 3.186 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/4.555, allocations: 12 kB / 3.186 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/4.555, allocations: 7.984 kB / 3.186 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/4.555, allocations: 19.98 kB / 3.186 GB, free: 361.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.504e-05/4.555, allocations: 111.2 kB / 3.186 GB, free: 361.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006335/4.556, allocations: 143.8 kB / 3.186 GB, free: 361.1 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.0009486/4.556, allocations: 0.7359 MB / 3.187 GB, free: 360.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003087/4.557, allocations: 182.4 kB / 3.187 GB, free: 360.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/4.557, allocations: 0 / 3.187 GB, free: 360.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/4.557, allocations: 79.91 kB / 3.187 GB, free: 360.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/4.557, allocations: 52.73 kB / 3.187 GB, free: 360.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/4.558, allocations: 221.9 kB / 3.187 GB, free: 359.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/4.558, allocations: 0.7841 MB / 3.188 GB, free: 359 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/4.558, allocations: 0 / 3.188 GB, free: 359 MB / 1.151 GB Notification: Performance of Templates: time 0.01112/4.569, allocations: 7.548 MB / 3.195 GB, free: 351.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","../files/Buildings_latest_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