Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.196/1.196, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 196.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.051/1.051, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008119/0.000812, allocations: 84.23 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.971e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1581, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.56/3.718, allocations: 2.205 GB / 3.09 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/3.718, allocations: 71.91 kB / 3.09 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.09102/3.809, allocations: 50.04 MB / 3.139 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.189e-05/3.809, allocations: 4 kB / 3.139 GB, free: 144.7 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008214/3.81, allocations: 0.5722 MB / 3.139 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/3.81, allocations: 8.031 kB / 3.139 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/3.811, allocations: 147.5 kB / 3.139 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/3.811, allocations: 226.7 kB / 3.14 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/3.811, allocations: 11.98 kB / 3.14 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/3.812, allocations: 12 kB / 3.14 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004062/3.812, allocations: 316.7 kB / 3.14 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/3.812, allocations: 290.6 kB / 3.14 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/3.812, allocations: 0 / 3.14 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/3.812, allocations: 0 / 3.14 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/3.812, allocations: 20.36 kB / 3.14 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/3.814, allocations: 1.135 MB / 3.141 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/3.814, allocations: 190.5 kB / 3.141 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/3.814, allocations: 76.83 kB / 3.142 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/3.814, allocations: 360.4 kB / 3.142 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/3.814, allocations: 34.56 kB / 3.142 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/3.814, allocations: 0 / 3.142 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004063/3.815, allocations: 173.4 kB / 3.142 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/3.815, allocations: 55.41 kB / 3.142 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/3.815, allocations: 151.5 kB / 3.142 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/3.815, allocations: 29.7 kB / 3.142 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/3.815, allocations: 147.8 kB / 3.142 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/3.815, allocations: 71 kB / 3.143 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/3.815, allocations: 0 / 3.143 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/3.815, allocations: 326.8 kB / 3.143 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/3.815, allocations: 64.25 kB / 3.143 GB, free: 140 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/3.815, allocations: 164.4 kB / 3.143 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/3.815, allocations: 93.36 kB / 3.143 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/3.815, allocations: 4.109 kB / 3.143 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003699/3.816, allocations: 249.1 kB / 3.143 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/3.816, allocations: 8.031 kB / 3.143 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/3.816, allocations: 4 kB / 3.143 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/3.816, allocations: 7.938 kB / 3.143 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/3.816, allocations: 59.91 kB / 3.143 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/3.816, allocations: 15.83 kB / 3.143 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/3.816, allocations: 27.69 kB / 3.144 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/3.816, allocations: 8 kB / 3.144 GB, free: 139.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 6.779e-05/3.816, allocations: 116.9 kB / 3.144 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/3.817, allocations: 19.8 kB / 3.144 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/3.817, allocations: 207.8 kB / 3.144 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/3.817, allocations: 0 / 3.144 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/3.817, allocations: 0 / 3.144 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/3.817, allocations: 4 kB / 3.144 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/3.817, allocations: 495 kB / 3.144 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/3.817, allocations: 4.031 kB / 3.144 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/3.818, allocations: 31.92 kB / 3.144 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/3.818, allocations: 4 kB / 3.144 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/3.818, allocations: 3.984 kB / 3.144 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/3.818, allocations: 0 / 3.144 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/3.818, allocations: 0 / 3.144 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002867/3.818, allocations: 307.5 kB / 3.145 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/3.818, allocations: 116.8 kB / 3.145 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/3.818, allocations: 0 / 3.145 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/3.818, allocations: 7.984 kB / 3.145 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/3.818, allocations: 7.984 kB / 3.145 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/3.818, allocations: 15.98 kB / 3.145 GB, free: 138 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.018e-05/3.818, allocations: 119.2 kB / 3.145 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004871/3.819, allocations: 143.8 kB / 3.145 GB, free: 137.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0006736/3.82, allocations: 0.7324 MB / 3.146 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002451/3.82, allocations: 168.4 kB / 3.146 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/3.82, allocations: 0 / 3.146 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/3.82, allocations: 75.91 kB / 3.146 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/3.82, allocations: 54.42 kB / 3.146 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/3.821, allocations: 225 kB / 3.146 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/3.821, allocations: 0.77 MB / 3.147 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/3.821, allocations: 0 / 3.147 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.009778/3.831, allocations: 7.488 MB / 3.154 GB, free: 128.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_AirProperties.csv","../files/Buildings_maint.7.0.x_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,eta,f,g,h,hIse,hLiq,kappa,lambda,p,pMed,s,time,u