Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.966/1.966, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.001061/0.001061, allocations: 181.3 kB / 490.8 MB, free: 1.887 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.305/1.305, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.000906/0.0009062, allocations: 91.94 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.915e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2883, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.294, allocations: 431.8 MB / 1.633 GB, free: 15.82 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.295, allocations: 87.89 kB / 1.633 GB, free: 15.77 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.458/3.752, allocations: 0.6266 GB / 2.26 GB, free: 259.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002582/3.753, allocations: 38.36 kB / 2.26 GB, free: 259.9 MB / 1.182 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.005513/3.758, allocations: 1.78 MB / 2.262 GB, free: 259.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/3.758, allocations: 7.312 kB / 2.262 GB, free: 259.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/3.761, allocations: 0.5344 MB / 2.262 GB, free: 259.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/3.766, allocations: 1.528 MB / 2.264 GB, free: 258.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007278/3.767, allocations: 259.9 kB / 2.264 GB, free: 258.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/3.767, allocations: 59.42 kB / 2.264 GB, free: 258.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001794/3.768, allocations: 1.013 MB / 2.265 GB, free: 258.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/3.77, allocations: 1.008 MB / 2.266 GB, free: 258.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/3.77, allocations: 0 / 2.266 GB, free: 258.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/3.77, allocations: 0 / 2.266 GB, free: 258.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/3.77, allocations: 33.12 kB / 2.266 GB, free: 258.6 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007672/3.778, allocations: 4.708 MB / 2.271 GB, free: 256.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/3.779, allocations: 0.7903 MB / 2.271 GB, free: 256.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/3.78, allocations: 381.8 kB / 2.272 GB, free: 256.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/3.78, allocations: 1.153 MB / 2.273 GB, free: 255.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005988/3.781, allocations: 456.8 kB / 2.273 GB, free: 255.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=61): time 3.055e-06/3.781, allocations: 2.844 kB / 2.273 GB, free: 255.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=61): time 0.001669/3.782, allocations: 0.8631 MB / 2.274 GB, free: 255.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/3.783, allocations: 88.61 kB / 2.274 GB, free: 255.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/3.784, allocations: 1.196 MB / 2.275 GB, free: 255 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/3.784, allocations: 29.45 kB / 2.275 GB, free: 255 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/3.784, allocations: 439.7 kB / 2.276 GB, free: 254.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/3.784, allocations: 202.3 kB / 2.276 GB, free: 254.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/3.785, allocations: 0 / 2.276 GB, free: 254.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/3.785, allocations: 335.2 kB / 2.276 GB, free: 254.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/3.785, allocations: 356.2 kB / 2.277 GB, free: 254.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/3.786, allocations: 0.5367 MB / 2.277 GB, free: 254.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/3.787, allocations: 444.5 kB / 2.278 GB, free: 254.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/3.787, allocations: 0 / 2.278 GB, free: 254.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001725/3.788, allocations: 1.03 MB / 2.279 GB, free: 254 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002/3.789, allocations: 0.8828 MB / 2.279 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/3.789, allocations: 6.922 kB / 2.279 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/3.789, allocations: 9.984 kB / 2.279 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/3.79, allocations: 230.2 kB / 2.28 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/3.79, allocations: 8.125 kB / 2.28 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/3.791, allocations: 222.5 kB / 2.28 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/3.791, allocations: 35.52 kB / 2.28 GB, free: 253.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/3.791, allocations: 7.594 kB / 2.28 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/3.793, allocations: 0.8595 MB / 2.281 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/3.793, allocations: 2.844 kB / 2.281 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/3.793, allocations: 3.906 kB / 2.281 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/3.794, allocations: 234.4 kB / 2.281 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/3.794, allocations: 6.844 kB / 2.281 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/3.795, allocations: 175 kB / 2.281 GB, free: 253.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/3.795, allocations: 39.66 kB / 2.281 GB, free: 253.1 MB / 1.182 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.0002219/3.795, allocations: 122 kB / 2.281 GB, free: 253 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/3.796, allocations: 136.4 kB / 2.282 GB, free: 252.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/3.798, allocations: 1.13 MB / 2.283 GB, free: 252.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/3.798, allocations: 7.594 kB / 2.283 GB, free: 252.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/3.798, allocations: 0 / 2.283 GB, free: 252.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/3.798, allocations: 3.891 kB / 2.283 GB, free: 252.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/3.801, allocations: 2.541 MB / 2.285 GB, free: 252.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/3.801, allocations: 11 kB / 2.285 GB, free: 252.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/3.802, allocations: 169.8 kB / 2.285 GB, free: 252.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/3.802, allocations: 10.41 kB / 2.285 GB, free: 252.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/3.802, allocations: 14.36 kB / 2.285 GB, free: 252.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/3.802, allocations: 6.531 kB / 2.285 GB, free: 252.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/3.802, allocations: 3.906 kB / 2.285 GB, free: 252.4 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001599/3.804, allocations: 1.3 MB / 2.287 GB, free: 251.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/3.804, allocations: 389 kB / 2.287 GB, free: 251.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/3.805, allocations: 8.062 kB / 2.287 GB, free: 251.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/3.806, allocations: 123.1 kB / 2.287 GB, free: 251.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/3.806, allocations: 55.44 kB / 2.287 GB, free: 251.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/3.806, allocations: 37.44 kB / 2.287 GB, free: 251.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001109/3.807, allocations: 0.9148 MB / 2.288 GB, free: 251.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002077/3.809, allocations: 0.7635 MB / 2.289 GB, free: 251.5 MB / 1.182 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.001777/3.811, allocations: 1.014 MB / 2.29 GB, free: 251.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001993/3.813, allocations: 1.377 MB / 2.291 GB, free: 251.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/3.813, allocations: 6.688 kB / 2.291 GB, free: 251.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/3.813, allocations: 462.1 kB / 2.292 GB, free: 251.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/3.815, allocations: 462.8 kB / 2.292 GB, free: 251.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/3.819, allocations: 1.951 MB / 2.294 GB, free: 250.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/3.82, allocations: 1.421 MB / 2.295 GB, free: 249.9 MB / 1.182 GB Notification: Performance of SimCode: time 4.31e-07/3.82, allocations: 0 / 2.295 GB, free: 249.9 MB / 1.182 GB Notification: Performance of Templates: time 0.05262/3.873, allocations: 33.25 MB / 2.328 GB, free: 249.4 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches