Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") [: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.013/2.013, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001186/0.001186, allocations: 184.5 kB / 490.8 MB, free: 1.914 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.522/1.522, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009373/0.0009373, allocations: 90.05 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.205e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.451, allocations: 436.8 MB / 1.638 GB, free: 11.02 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/1.451, allocations: 88.7 kB / 1.638 GB, free: 10.97 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.703/5.154, allocations: 1.067 GB / 2.705 GB, free: 157.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004697/5.155, allocations: 81.52 kB / 2.705 GB, free: 157.2 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009839/5.164, allocations: 3.217 MB / 2.708 GB, free: 156.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/5.164, allocations: 9.188 kB / 2.708 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/5.176, allocations: 1.406 MB / 2.71 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008937/5.184, allocations: 3.353 MB / 2.713 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/5.185, allocations: 172.4 kB / 2.713 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000859/5.186, allocations: 134.4 kB / 2.713 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005276/5.191, allocations: 2.03 MB / 2.715 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006074/5.197, allocations: 2.512 MB / 2.718 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.981e-05/5.197, allocations: 8.969 kB / 2.718 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/5.198, allocations: 6.125 kB / 2.718 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.343e-05/5.198, allocations: 70.55 kB / 2.718 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/5.219, allocations: 13.94 MB / 2.731 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/5.221, allocations: 1.132 MB / 2.733 GB, free: 148.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/5.221, allocations: 0.6261 MB / 2.733 GB, free: 148.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/5.223, allocations: 1.779 MB / 2.735 GB, free: 146.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/5.224, allocations: 0.9527 MB / 2.736 GB, free: 146.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 3.166e-06/5.224, allocations: 0 / 2.736 GB, free: 146.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.005578/5.23, allocations: 1.678 MB / 2.737 GB, free: 146 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/5.23, allocations: 0.9314 MB / 2.738 GB, free: 144.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/5.233, allocations: 1.862 MB / 2.74 GB, free: 144.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003298/5.233, allocations: 32.7 kB / 2.74 GB, free: 144.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000749/5.234, allocations: 0.9813 MB / 2.741 GB, free: 144.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004/5.234, allocations: 407.9 kB / 2.742 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/5.234, allocations: 3.172 kB / 2.742 GB, free: 143.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/5.235, allocations: 372 kB / 2.742 GB, free: 143.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000969/5.236, allocations: 0.6304 MB / 2.743 GB, free: 143.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/5.237, allocations: 1.228 MB / 2.744 GB, free: 142.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/5.239, allocations: 0.836 MB / 2.745 GB, free: 142.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/5.239, allocations: 5.5 kB / 2.745 GB, free: 142.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01272/5.252, allocations: 2.792 MB / 2.747 GB, free: 142.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000828/5.253, allocations: 4.909 MB / 2.752 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/5.253, allocations: 15.03 kB / 2.752 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/5.254, allocations: 0.71 MB / 2.753 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/5.257, allocations: 0.5017 MB / 2.753 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/5.259, allocations: 1.918 MB / 2.755 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/5.265, allocations: 480.8 kB / 2.756 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/5.265, allocations: 113.7 kB / 2.756 GB, free: 136.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/5.265, allocations: 3.062 kB / 2.756 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0122/5.277, allocations: 2.5 MB / 2.758 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/5.277, allocations: 10.53 kB / 2.758 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/5.279, allocations: 0.7105 MB / 2.759 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/5.282, allocations: 496.9 kB / 2.759 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/5.284, allocations: 1.922 MB / 2.761 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/5.289, allocations: 392.2 kB / 2.762 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/5.289, allocations: 108.3 kB / 2.762 GB, free: 135 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005581/5.29, allocations: 156.3 kB / 2.762 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/5.29, allocations: 250.3 kB / 2.762 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/5.303, allocations: 2.316 MB / 2.764 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/5.303, allocations: 20.31 kB / 2.764 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/5.303, allocations: 4.969 kB / 2.764 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01125/5.314, allocations: 2.132 MB / 2.766 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/5.331, allocations: 6.726 MB / 2.773 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/5.331, allocations: 11.28 kB / 2.773 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/5.332, allocations: 304.6 kB / 2.773 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/5.334, allocations: 0.7024 MB / 2.774 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/5.334, allocations: 36.81 kB / 2.774 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/5.336, allocations: 1.914 MB / 2.776 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/5.336, allocations: 11.41 kB / 2.776 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004909/5.341, allocations: 3.262 MB / 2.779 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/5.343, allocations: 0.6387 MB / 2.78 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004799/5.343, allocations: 18.25 kB / 2.78 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/5.346, allocations: 284 kB / 2.78 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/5.347, allocations: 103.9 kB / 2.78 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/5.347, allocations: 75.41 kB / 2.78 GB, free: 129.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001801/5.349, allocations: 1.384 MB / 2.782 GB, free: 129.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004784/5.353, allocations: 1.834 MB / 2.783 GB, free: 129.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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 (84): * Single equations (assignments): 78 * 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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002367/5.356, allocations: 1.511 MB / 2.785 GB, free: 129 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004045/5.36, allocations: 2.601 MB / 2.787 GB, free: 128.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/5.36, allocations: 4.531 kB / 2.787 GB, free: 128.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/5.361, allocations: 0.7698 MB / 2.788 GB, free: 128.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/5.366, allocations: 1.043 MB / 2.789 GB, free: 128.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/5.374, allocations: 3.9 MB / 2.793 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/5.375, allocations: 2.039 MB / 2.795 GB, free: 127 MB / 1.167 GB Notification: Performance of SimCode: time 1.162e-06/5.375, allocations: 4.875 kB / 2.795 GB, free: 127 MB / 1.167 GB Notification: Performance of Templates: time 0.1034/5.479, allocations: 76.43 MB / 2.87 GB, free: 123.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches