Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") [: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.014/2.014, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001163/0.001163, allocations: 181.2 kB / 490.8 MB, free: 1.973 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.364/1.364, allocations: 221.4 MB / 0.7863 GB, free: 13.77 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.0009542/0.0009544, allocations: 95.84 kB / 0.9264 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.252e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2451, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8327/1.078, allocations: 439.7 MB / 1.641 GB, free: 8.18 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.078, allocations: 89.64 kB / 1.641 GB, free: 8.137 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.067/3.145, allocations: 0.5687 GB / 2.21 GB, free: 239.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001628/3.145, allocations: 44.5 kB / 2.21 GB, free: 239.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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.00406/3.15, allocations: 1.997 MB / 2.212 GB, free: 238.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/3.15, allocations: 10.91 kB / 2.212 GB, free: 238.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/3.155, allocations: 0.7282 MB / 2.212 GB, free: 238.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/3.158, allocations: 1.889 MB / 2.214 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/3.158, allocations: 91.59 kB / 2.214 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/3.159, allocations: 74.44 kB / 2.214 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001968/3.161, allocations: 1.12 MB / 2.216 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/3.163, allocations: 1.397 MB / 2.217 GB, free: 238.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/3.163, allocations: 3.188 kB / 2.217 GB, free: 238.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/3.163, allocations: 7.422 kB / 2.217 GB, free: 238.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-05/3.163, allocations: 53.5 kB / 2.217 GB, free: 238.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00979/3.173, allocations: 7.694 MB / 2.224 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/3.174, allocations: 0.8601 MB / 2.225 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/3.175, allocations: 456.3 kB / 2.226 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/3.176, allocations: 1.274 MB / 2.227 GB, free: 233.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008236/3.177, allocations: 0.5486 MB / 2.228 GB, free: 233.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 3.908e-06/3.177, allocations: 0 / 2.228 GB, free: 233.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.004555/3.181, allocations: 1.206 MB / 2.229 GB, free: 233 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/3.181, allocations: 165.4 kB / 2.229 GB, free: 232.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/3.183, allocations: 1.002 MB / 2.23 GB, free: 232.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/3.183, allocations: 29.55 kB / 2.23 GB, free: 232.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/3.183, allocations: 0.5268 MB / 2.23 GB, free: 232.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/3.184, allocations: 260.5 kB / 2.231 GB, free: 232.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/3.184, allocations: 0 / 2.231 GB, free: 232.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/3.184, allocations: 345.7 kB / 2.231 GB, free: 232 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/3.184, allocations: 384.4 kB / 2.231 GB, free: 232 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/3.185, allocations: 0.6604 MB / 2.232 GB, free: 231.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/3.186, allocations: 489.2 kB / 2.232 GB, free: 231.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/3.186, allocations: 0 / 2.232 GB, free: 231.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002668/3.189, allocations: 1.3 MB / 2.234 GB, free: 231.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004481/3.189, allocations: 2.381 MB / 2.236 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/3.189, allocations: 6.219 kB / 2.236 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/3.19, allocations: 443.9 kB / 2.236 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/3.192, allocations: 253.1 kB / 2.237 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/3.193, allocations: 1.174 MB / 2.238 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/3.196, allocations: 218.6 kB / 2.238 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/3.196, allocations: 58.14 kB / 2.238 GB, free: 228.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/3.196, allocations: 10.19 kB / 2.238 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002395/3.198, allocations: 1.117 MB / 2.239 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/3.198, allocations: 10.88 kB / 2.239 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009133/3.199, allocations: 442.1 kB / 2.24 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/3.201, allocations: 244.6 kB / 2.24 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/3.202, allocations: 1.173 MB / 2.241 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/3.205, allocations: 209 kB / 2.241 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/3.205, allocations: 64.02 kB / 2.241 GB, free: 227.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003938/3.205, allocations: 129 kB / 2.241 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/3.206, allocations: 135.2 kB / 2.242 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/3.209, allocations: 1.33 MB / 2.243 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/3.209, allocations: 11.56 kB / 2.243 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/3.209, allocations: 0 / 2.243 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002038/3.211, allocations: 1.101 MB / 2.244 GB, free: 227.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/3.216, allocations: 2.821 MB / 2.247 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/3.216, allocations: 0 / 2.247 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/3.218, allocations: 192.6 kB / 2.247 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/3.219, allocations: 433.7 kB / 2.247 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/3.219, allocations: 26.16 kB / 2.247 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/3.22, allocations: 1.163 MB / 2.248 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/3.22, allocations: 3.125 kB / 2.248 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002461/3.223, allocations: 1.343 MB / 2.25 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008499/3.224, allocations: 411 kB / 2.25 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/3.224, allocations: 3.594 kB / 2.25 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/3.226, allocations: 156.3 kB / 2.25 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/3.226, allocations: 53.14 kB / 2.25 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/3.226, allocations: 54.16 kB / 2.25 GB, free: 226 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00102/3.227, allocations: 0.7635 MB / 2.251 GB, free: 225.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003066/3.23, allocations: 1.053 MB / 2.252 GB, free: 225.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002312/3.232, allocations: 1.124 MB / 2.253 GB, free: 225.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002752/3.235, allocations: 1.582 MB / 2.255 GB, free: 225.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/3.235, allocations: 0 / 2.255 GB, free: 225.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/3.236, allocations: 0.4984 MB / 2.255 GB, free: 225.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/3.239, allocations: 0.6416 MB / 2.256 GB, free: 225.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/3.243, allocations: 2.004 MB / 2.258 GB, free: 225 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/3.244, allocations: 1.464 MB / 2.259 GB, free: 224.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.72e-07/3.244, allocations: 3.656 kB / 2.259 GB, free: 224.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05704/3.302, allocations: 44.59 MB / 2.303 GB, free: 223.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches