Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001326/0.001326, allocations: 173.3 kB / 487 MB, free: 5.371 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.509/1.509, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001008/0.001008, allocations: 90.44 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.474e-05/1.486e-05, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9691/1.229, allocations: 438.9 MB / 1.634 GB, free: 1.109 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.229, allocations: 95.48 kB / 1.634 GB, free: 1.062 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.134/3.363, allocations: 0.5687 GB / 2.203 GB, free: 244.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001534/3.363, allocations: 46.12 kB / 2.203 GB, free: 244.4 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.004099/3.368, allocations: 1.99 MB / 2.205 GB, free: 243.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/3.368, allocations: 7.875 kB / 2.205 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/3.373, allocations: 0.7283 MB / 2.205 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/3.377, allocations: 1.898 MB / 2.207 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/3.377, allocations: 84.11 kB / 2.207 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/3.377, allocations: 72.41 kB / 2.207 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002008/3.379, allocations: 1.12 MB / 2.208 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/3.381, allocations: 1.391 MB / 2.21 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/3.381, allocations: 6.125 kB / 2.21 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/3.381, allocations: 3.688 kB / 2.21 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/3.381, allocations: 53.66 kB / 2.21 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/3.393, allocations: 7.666 MB / 2.217 GB, free: 239.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/3.394, allocations: 0.8644 MB / 2.218 GB, free: 239.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/3.395, allocations: 466.8 kB / 2.219 GB, free: 239.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/3.397, allocations: 1.271 MB / 2.22 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008089/3.397, allocations: 0.5498 MB / 2.22 GB, free: 237.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 4.619e-06/3.397, allocations: 0 / 2.22 GB, free: 237.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.004487/3.402, allocations: 1.21 MB / 2.222 GB, free: 237.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/3.402, allocations: 166.4 kB / 2.222 GB, free: 237.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/3.403, allocations: 1.003 MB / 2.223 GB, free: 237.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/3.403, allocations: 29.67 kB / 2.223 GB, free: 237.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/3.404, allocations: 0.5254 MB / 2.223 GB, free: 237.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/3.404, allocations: 266 kB / 2.224 GB, free: 237.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/3.404, allocations: 0 / 2.224 GB, free: 237.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/3.404, allocations: 341.5 kB / 2.224 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/3.405, allocations: 373.3 kB / 2.224 GB, free: 236.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/3.405, allocations: 0.6691 MB / 2.225 GB, free: 236.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/3.407, allocations: 487 kB / 2.225 GB, free: 236.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/3.407, allocations: 0 / 2.225 GB, free: 236.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002596/3.409, allocations: 1.299 MB / 2.227 GB, free: 236.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004528/3.41, allocations: 2.393 MB / 2.229 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/3.41, allocations: 7.312 kB / 2.229 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009919/3.411, allocations: 434.1 kB / 2.229 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/3.412, allocations: 255.6 kB / 2.23 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/3.414, allocations: 1.182 MB / 2.231 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/3.416, allocations: 223.9 kB / 2.231 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/3.416, allocations: 58.22 kB / 2.231 GB, free: 233.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/3.416, allocations: 3.938 kB / 2.231 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0023/3.419, allocations: 1.121 MB / 2.232 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/3.419, allocations: 7.844 kB / 2.232 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008825/3.419, allocations: 438.9 kB / 2.233 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/3.421, allocations: 238.7 kB / 2.233 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/3.422, allocations: 1.173 MB / 2.234 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/3.424, allocations: 195.6 kB / 2.234 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/3.425, allocations: 54.25 kB / 2.234 GB, free: 232.7 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.0003199/3.425, allocations: 139.9 kB / 2.234 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/3.425, allocations: 136.7 kB / 2.234 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/3.428, allocations: 1.332 MB / 2.236 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/3.428, allocations: 11.19 kB / 2.236 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/3.428, allocations: 3.094 kB / 2.236 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/3.43, allocations: 1.116 MB / 2.237 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/3.435, allocations: 2.809 MB / 2.24 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/3.435, allocations: 3.062 kB / 2.24 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/3.437, allocations: 194.7 kB / 2.24 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/3.437, allocations: 436.5 kB / 2.24 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-05/3.438, allocations: 31.3 kB / 2.24 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/3.439, allocations: 1.158 MB / 2.241 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/3.439, allocations: 0 / 2.241 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002377/3.441, allocations: 1.345 MB / 2.243 GB, free: 231 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/3.442, allocations: 409.5 kB / 2.243 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/3.442, allocations: 3.969 kB / 2.243 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/3.444, allocations: 156.9 kB / 2.243 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/3.444, allocations: 52.02 kB / 2.243 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/3.445, allocations: 56.52 kB / 2.243 GB, free: 230.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001239/3.446, allocations: 0.7585 MB / 2.244 GB, free: 230.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003826/3.45, allocations: 1.054 MB / 2.245 GB, free: 230.5 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.00255/3.452, allocations: 1.144 MB / 2.246 GB, free: 230.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002673/3.455, allocations: 1.574 MB / 2.248 GB, free: 230.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/3.455, allocations: 7.062 kB / 2.248 GB, free: 230.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/3.456, allocations: 0.4888 MB / 2.248 GB, free: 230.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/3.458, allocations: 0.6374 MB / 2.249 GB, free: 230.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/3.463, allocations: 2.021 MB / 2.251 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/3.464, allocations: 1.459 MB / 2.252 GB, free: 229 MB / 1.151 GB Notification: Performance of SimCode: time 8.21e-07/3.464, allocations: 0 / 2.252 GB, free: 229 MB / 1.151 GB Notification: Performance of Templates: time 0.06562/3.53, allocations: 44.6 MB / 2.296 GB, free: 228 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches