Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") [: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.041/2.041, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001148/0.001148, allocations: 185.2 kB / 490.8 MB, free: 1.922 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.582/1.582, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.001143/0.001143, allocations: 105.2 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.824e-06/7.844e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3115, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9858/1.297, allocations: 436.9 MB / 1.638 GB, free: 10.8 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/1.298, allocations: 86.48 kB / 1.638 GB, free: 10.77 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.605/4.902, allocations: 1.067 GB / 2.706 GB, free: 149.2 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004939/4.903, allocations: 85.19 kB / 2.706 GB, free: 149.2 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009609/4.912, allocations: 3.2 MB / 2.709 GB, free: 148.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/4.912, allocations: 10.34 kB / 2.709 GB, free: 148.1 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/4.923, allocations: 1.401 MB / 2.71 GB, free: 147.9 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/4.931, allocations: 3.344 MB / 2.714 GB, free: 147.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/4.931, allocations: 172.6 kB / 2.714 GB, free: 147.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000371/4.932, allocations: 139.9 kB / 2.714 GB, free: 147.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003838/4.935, allocations: 2.026 MB / 2.716 GB, free: 147.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/4.939, allocations: 2.515 MB / 2.718 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/4.939, allocations: 8.203 kB / 2.718 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/4.94, allocations: 10 kB / 2.718 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/4.94, allocations: 67.66 kB / 2.718 GB, free: 146.9 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/4.959, allocations: 14.11 MB / 2.732 GB, free: 140.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/4.96, allocations: 1.13 MB / 2.733 GB, free: 140.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/4.961, allocations: 0.6024 MB / 2.734 GB, free: 140.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/4.963, allocations: 1.774 MB / 2.736 GB, free: 138.2 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/4.964, allocations: 0.9321 MB / 2.737 GB, free: 137.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=118): time 3.356e-06/4.964, allocations: 0 / 2.737 GB, free: 137.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=122): time 0.01812/4.982, allocations: 10.08 MB / 2.746 GB, free: 131.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/4.982, allocations: 0.942 MB / 2.747 GB, free: 130.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/4.985, allocations: 1.848 MB / 2.749 GB, free: 130.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002399/4.985, allocations: 31.3 kB / 2.749 GB, free: 130.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/4.986, allocations: 0.9777 MB / 2.75 GB, free: 129.9 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/4.986, allocations: 416.4 kB / 2.75 GB, free: 129.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/4.986, allocations: 0 / 2.75 GB, free: 129.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/4.986, allocations: 372.6 kB / 2.751 GB, free: 129.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009447/4.987, allocations: 0.6087 MB / 2.751 GB, free: 129.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/4.989, allocations: 1.228 MB / 2.753 GB, free: 128.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/4.991, allocations: 0.8204 MB / 2.753 GB, free: 128.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/4.991, allocations: 3.781 kB / 2.753 GB, free: 128.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004509/4.995, allocations: 2.245 MB / 2.756 GB, free: 128.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008282/4.996, allocations: 5.095 MB / 2.761 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/4.996, allocations: 11.38 kB / 2.761 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/4.998, allocations: 0.9013 MB / 2.762 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/5, allocations: 460.7 kB / 2.762 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/5.003, allocations: 2.36 MB / 2.764 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005208/5.008, allocations: 401.5 kB / 2.765 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/5.009, allocations: 100.8 kB / 2.765 GB, free: 121.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/5.009, allocations: 3.969 kB / 2.765 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004232/5.013, allocations: 1.955 MB / 2.767 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/5.013, allocations: 11.28 kB / 2.767 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/5.015, allocations: 0.9025 MB / 2.768 GB, free: 121.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/5.017, allocations: 448.3 kB / 2.768 GB, free: 121.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/5.02, allocations: 2.377 MB / 2.77 GB, free: 120.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/5.024, allocations: 332.5 kB / 2.771 GB, free: 120.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/5.024, allocations: 106 kB / 2.771 GB, free: 120.8 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.000487/5.025, allocations: 159.2 kB / 2.771 GB, free: 120.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004539/5.025, allocations: 245.2 kB / 2.771 GB, free: 120.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/5.031, allocations: 1.759 MB / 2.773 GB, free: 120.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/5.031, allocations: 18.66 kB / 2.773 GB, free: 120.4 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/5.031, allocations: 3.75 kB / 2.773 GB, free: 120.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004301/5.035, allocations: 1.55 MB / 2.774 GB, free: 120.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/5.045, allocations: 6.141 MB / 2.78 GB, free: 118.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/5.045, allocations: 7.812 kB / 2.78 GB, free: 118.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/5.047, allocations: 279.1 kB / 2.781 GB, free: 118.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/5.048, allocations: 0.7792 MB / 2.781 GB, free: 118.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/5.048, allocations: 34.02 kB / 2.781 GB, free: 118.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/5.051, allocations: 2.103 MB / 2.783 GB, free: 117.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/5.051, allocations: 10.75 kB / 2.783 GB, free: 117.1 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006489/5.057, allocations: 3.271 MB / 2.787 GB, free: 116 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/5.059, allocations: 0.6172 MB / 2.787 GB, free: 115.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/5.059, allocations: 18.88 kB / 2.787 GB, free: 115.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/5.063, allocations: 268.8 kB / 2.788 GB, free: 115.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/5.063, allocations: 107.9 kB / 2.788 GB, free: 115.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/5.063, allocations: 73.55 kB / 2.788 GB, free: 115.7 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.00189/5.065, allocations: 1.384 MB / 2.789 GB, free: 115.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005004/5.07, allocations: 1.571 MB / 2.791 GB, free: 115.5 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002693/5.073, allocations: 1.513 MB / 2.792 GB, free: 115.1 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004661/5.077, allocations: 2.643 MB / 2.795 GB, free: 114.9 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/5.077, allocations: 4.281 kB / 2.795 GB, free: 114.9 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/5.079, allocations: 0.7726 MB / 2.795 GB, free: 114.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/5.084, allocations: 1.032 MB / 2.796 GB, free: 114.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/5.092, allocations: 3.78 MB / 2.8 GB, free: 113.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/5.094, allocations: 2.031 MB / 2.802 GB, free: 113.1 MB / 1.198 GB Notification: Performance of SimCode: time 8.52e-07/5.094, allocations: 0 / 2.802 GB, free: 113.1 MB / 1.198 GB Notification: Performance of Templates: time 0.1049/5.199, allocations: 77.04 MB / 2.877 GB, free: 110 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches