Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") [: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 2.038/2.038, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001518/0.001518, allocations: 184.5 kB / 487 MB, free: 5.422 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.411/1.411, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0009488/0.0009488, allocations: 89.84 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.613e-06/6.623e-06, allocations: 0 / 1.066 GB, free: 168.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 142.3 MB / 1.205 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.256, allocations: 431 MB / 1.626 GB, free: 9.062 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.256, allocations: 88.05 kB / 1.626 GB, free: 9.02 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.47/3.726, allocations: 0.6266 GB / 2.253 GB, free: 239.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001245/3.726, allocations: 41.09 kB / 2.253 GB, free: 239.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003195/3.73, allocations: 1.782 MB / 2.255 GB, free: 238.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/3.73, allocations: 7.906 kB / 2.255 GB, free: 238.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/3.732, allocations: 0.5357 MB / 2.255 GB, free: 238.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/3.735, allocations: 1.54 MB / 2.257 GB, free: 238.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008092/3.735, allocations: 259.4 kB / 2.257 GB, free: 238.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/3.735, allocations: 57.38 kB / 2.257 GB, free: 238.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001541/3.737, allocations: 1.009 MB / 2.258 GB, free: 238.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/3.738, allocations: 1.007 MB / 2.259 GB, free: 238 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/3.738, allocations: 0 / 2.259 GB, free: 238 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/3.739, allocations: 3.25 kB / 2.259 GB, free: 238 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/3.739, allocations: 32.08 kB / 2.259 GB, free: 238 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006605/3.745, allocations: 4.707 MB / 2.263 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/3.746, allocations: 0.7872 MB / 2.264 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/3.747, allocations: 378.3 kB / 2.265 GB, free: 236.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/3.747, allocations: 1.158 MB / 2.266 GB, free: 234.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005663/3.748, allocations: 453.9 kB / 2.266 GB, free: 234.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 2.816e-06/3.748, allocations: 0 / 2.266 GB, free: 234.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.001567/3.75, allocations: 0.8686 MB / 2.267 GB, free: 234.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/3.75, allocations: 88.2 kB / 2.267 GB, free: 234.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/3.751, allocations: 1.205 MB / 2.268 GB, free: 234.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/3.751, allocations: 29.67 kB / 2.268 GB, free: 234.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/3.751, allocations: 431.8 kB / 2.269 GB, free: 234.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/3.752, allocations: 206.4 kB / 2.269 GB, free: 234.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/3.752, allocations: 0 / 2.269 GB, free: 234.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/3.752, allocations: 331.5 kB / 2.269 GB, free: 233.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/3.752, allocations: 359.3 kB / 2.27 GB, free: 233.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/3.753, allocations: 0.5347 MB / 2.27 GB, free: 233.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/3.754, allocations: 444.4 kB / 2.27 GB, free: 233.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/3.754, allocations: 0 / 2.27 GB, free: 233.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001713/3.755, allocations: 1.026 MB / 2.271 GB, free: 233.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/3.755, allocations: 0.8919 MB / 2.272 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/3.755, allocations: 3.969 kB / 2.272 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/3.755, allocations: 7.844 kB / 2.272 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/3.757, allocations: 237 kB / 2.273 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/3.757, allocations: 6.75 kB / 2.273 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/3.758, allocations: 218.7 kB / 2.273 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.902e-05/3.758, allocations: 38.97 kB / 2.273 GB, free: 232.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/3.758, allocations: 3.719 kB / 2.273 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/3.76, allocations: 0.8572 MB / 2.274 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/3.76, allocations: 6.219 kB / 2.274 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/3.76, allocations: 3.688 kB / 2.274 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/3.761, allocations: 229.9 kB / 2.274 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/3.761, allocations: 7.094 kB / 2.274 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/3.762, allocations: 178.9 kB / 2.274 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/3.762, allocations: 33.52 kB / 2.274 GB, free: 232.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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 0.0002177/3.762, allocations: 132.1 kB / 2.274 GB, free: 232.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/3.762, allocations: 136.3 kB / 2.274 GB, free: 232.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/3.764, allocations: 1.126 MB / 2.275 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/3.764, allocations: 14.56 kB / 2.275 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/3.764, allocations: 3.25 kB / 2.275 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/3.764, allocations: 7.469 kB / 2.276 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/3.768, allocations: 2.542 MB / 2.278 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/3.768, allocations: 0 / 2.278 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/3.769, allocations: 170.5 kB / 2.278 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/3.769, allocations: 7.344 kB / 2.278 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/3.769, allocations: 11.27 kB / 2.278 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/3.769, allocations: 3.781 kB / 2.278 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/3.769, allocations: 11.03 kB / 2.278 GB, free: 231.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001548/3.77, allocations: 1.292 MB / 2.279 GB, free: 231.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/3.771, allocations: 392.4 kB / 2.28 GB, free: 231.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/3.771, allocations: 3.938 kB / 2.28 GB, free: 231.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/3.772, allocations: 123.8 kB / 2.28 GB, free: 231.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/3.772, allocations: 60.14 kB / 2.28 GB, free: 231.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/3.773, allocations: 35.83 kB / 2.28 GB, free: 231.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001079/3.774, allocations: 0.9158 MB / 2.281 GB, free: 231 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002008/3.776, allocations: 0.7623 MB / 2.282 GB, free: 230.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.001697/3.777, allocations: 1.013 MB / 2.283 GB, free: 230.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001926/3.779, allocations: 1.378 MB / 2.284 GB, free: 230.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/3.779, allocations: 0 / 2.284 GB, free: 230.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/3.78, allocations: 472.5 kB / 2.284 GB, free: 230.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/3.782, allocations: 467 kB / 2.285 GB, free: 230.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/3.786, allocations: 1.946 MB / 2.287 GB, free: 230.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/3.787, allocations: 1.42 MB / 2.288 GB, free: 229.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/3.787, allocations: 0 / 2.288 GB, free: 229.4 MB / 1.167 GB Notification: Performance of Templates: time 0.05858/3.846, allocations: 33.24 MB / 2.321 GB, free: 228.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches