Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 387.1 MB / 399.7 MB, free: 9.543 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.001101/0.0011, allocations: 164.5 kB / 492.3 MB, free: 0.6445 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.807/1.807, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0008667/0.0008666, allocations: 83.89 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.561e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3495, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.666, allocations: 436.8 MB / 1.639 GB, free: 10 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.666, allocations: 89.92 kB / 1.639 GB, free: 9.957 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.375/6.041, allocations: 1.066 GB / 2.705 GB, free: 157 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.373e-06/6.041, allocations: 0 / 2.705 GB, free: 157 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003002/6.042, allocations: 87.88 kB / 2.705 GB, free: 157 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.007602/6.049, allocations: 3.186 MB / 2.708 GB, free: 155.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/6.049, allocations: 9.062 kB / 2.708 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009731/6.059, allocations: 1.316 MB / 2.71 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/6.066, allocations: 3.321 MB / 2.713 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/6.067, allocations: 253.1 kB / 2.713 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005907/6.067, allocations: 233.5 kB / 2.713 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/6.072, allocations: 2.827 MB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/6.072, allocations: 15.47 kB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/6.072, allocations: 102.7 kB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/6.072, allocations: 69.3 kB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/6.076, allocations: 2.171 MB / 2.718 GB, free: 154.7 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/6.094, allocations: 13.32 MB / 2.731 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/6.095, allocations: 1.245 MB / 2.733 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/6.096, allocations: 0.6552 MB / 2.733 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/6.098, allocations: 1.782 MB / 2.735 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/6.099, allocations: 0.9991 MB / 2.736 GB, free: 146.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 3.847e-06/6.099, allocations: 0 / 2.736 GB, free: 146.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.004804/6.104, allocations: 1.696 MB / 2.738 GB, free: 146.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/6.104, allocations: 0.9366 MB / 2.739 GB, free: 145.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/6.107, allocations: 2.256 MB / 2.741 GB, free: 145.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/6.108, allocations: 61.2 kB / 2.741 GB, free: 145 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009767/6.109, allocations: 1.371 MB / 2.742 GB, free: 144.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/6.109, allocations: 438.5 kB / 2.743 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/6.109, allocations: 30.06 kB / 2.743 GB, free: 144.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/6.109, allocations: 368 kB / 2.743 GB, free: 144 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/6.11, allocations: 0.658 MB / 2.744 GB, free: 144 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/6.112, allocations: 1.262 MB / 2.745 GB, free: 143.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/6.113, allocations: 0.7884 MB / 2.746 GB, free: 143.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/6.113, allocations: 3.875 kB / 2.746 GB, free: 143.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01139/6.124, allocations: 2.896 MB / 2.748 GB, free: 143 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009282/6.125, allocations: 5.029 MB / 2.753 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/6.125, allocations: 13.12 kB / 2.753 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/6.128, allocations: 0.8184 MB / 2.754 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/6.13, allocations: 494.2 kB / 2.755 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/6.132, allocations: 1.807 MB / 2.756 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/6.138, allocations: 0.5302 MB / 2.757 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/6.139, allocations: 112 kB / 2.757 GB, free: 136.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/6.139, allocations: 2.438 kB / 2.757 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/6.15, allocations: 2.619 MB / 2.76 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/6.15, allocations: 13.81 kB / 2.76 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/6.152, allocations: 0.8305 MB / 2.76 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/6.155, allocations: 481 kB / 2.761 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/6.157, allocations: 1.81 MB / 2.763 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/6.161, allocations: 453.2 kB / 2.763 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/6.161, allocations: 105.5 kB / 2.763 GB, free: 135.3 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.000541/6.162, allocations: 220.1 kB / 2.763 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005685/6.162, allocations: 276.6 kB / 2.764 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/6.173, allocations: 2.297 MB / 2.766 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/6.173, allocations: 15.44 kB / 2.766 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/6.173, allocations: 10.31 kB / 2.766 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01022/6.183, allocations: 2.078 MB / 2.768 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/6.2, allocations: 7.025 MB / 2.775 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/6.2, allocations: 5.812 kB / 2.775 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/6.202, allocations: 285.8 kB / 2.775 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002249/6.204, allocations: 0.8119 MB / 2.776 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/6.204, allocations: 51.83 kB / 2.776 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/6.206, allocations: 1.799 MB / 2.778 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/6.206, allocations: 9.219 kB / 2.778 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/6.211, allocations: 3.4 MB / 2.781 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/6.213, allocations: 0.6704 MB / 2.782 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006069/6.213, allocations: 33.5 kB / 2.782 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/6.217, allocations: 300.1 kB / 2.782 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/6.217, allocations: 117.1 kB / 2.782 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/6.217, allocations: 66.09 kB / 2.782 GB, free: 129.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002634/6.22, allocations: 1.747 MB / 2.784 GB, free: 129.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/6.22, allocations: 1.312 kB / 2.784 GB, free: 129.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005875/6.226, allocations: 1.86 MB / 2.786 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.002956/6.229, allocations: 1.518 MB / 2.787 GB, free: 129 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004901/6.234, allocations: 2.79 MB / 2.79 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/6.234, allocations: 4.625 kB / 2.79 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/6.235, allocations: 0.8022 MB / 2.791 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00752/6.243, allocations: 1.389 MB / 2.792 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008893/6.252, allocations: 3.796 MB / 2.796 GB, free: 127.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/6.253, allocations: 1.775 MB / 2.798 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004868/6.258, allocations: 0.8513 MB / 2.798 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/6.258, allocations: 187 kB / 2.799 GB, free: 126.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.392e-06/6.258, allocations: 0 / 2.799 GB, free: 126.9 MB / 1.167 GB Notification: Performance of Templates: time 0.1149/6.373, allocations: 80.07 MB / 2.877 GB, free: 122.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches