Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001194/0.001194, allocations: 179 kB / 498.1 MB, free: 5.746 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.581/1.581, allocations: 223.2 MB / 0.7949 GB, free: 17.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.001156/0.001156, allocations: 87.91 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005765/0.0005763, allocations: 12.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3598, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.548, allocations: 437 MB / 1.65 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/1.549, allocations: 98.56 kB / 1.65 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.504/5.053, allocations: 1.07 GB / 2.72 GB, free: 44.57 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.234e-06/5.053, allocations: 4 kB / 2.72 GB, free: 44.56 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003316/5.053, allocations: 83.97 kB / 2.72 GB, free: 44.48 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009814/5.063, allocations: 3.686 MB / 2.723 GB, free: 40.69 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/5.063, allocations: 8.031 kB / 2.723 GB, free: 40.68 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/5.073, allocations: 1.315 MB / 2.725 GB, free: 39.36 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008201/5.082, allocations: 3.34 MB / 2.728 GB, free: 35.95 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/5.082, allocations: 251.9 kB / 2.728 GB, free: 35.68 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/5.083, allocations: 236 kB / 2.728 GB, free: 35.45 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008156/5.091, allocations: 3.194 MB / 2.731 GB, free: 32.05 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/5.091, allocations: 7.938 kB / 2.731 GB, free: 32.05 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/5.091, allocations: 100 kB / 2.732 GB, free: 31.95 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/5.091, allocations: 75.92 kB / 2.732 GB, free: 31.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009518/5.101, allocations: 2.878 MB / 2.734 GB, free: 28.98 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02088/5.122, allocations: 13.5 MB / 2.748 GB, free: 14.88 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/5.126, allocations: 1.587 MB / 2.749 GB, free: 13.25 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/5.127, allocations: 1.77 MB / 2.751 GB, free: 11.09 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003414/5.131, allocations: 1.269 MB / 2.752 GB, free: 9.719 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.787e-06/5.131, allocations: 0 / 2.752 GB, free: 9.719 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.06275/5.193, allocations: 16.26 MB / 2.768 GB, free: 9.23 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000467/5.194, allocations: 0.9397 MB / 2.769 GB, free: 8.07 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/5.199, allocations: 2.423 MB / 2.771 GB, free: 5.637 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0004559/5.199, allocations: 61.7 kB / 2.771 GB, free: 5.57 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/5.2, allocations: 1.358 MB / 2.773 GB, free: 4.199 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/5.201, allocations: 426 kB / 2.773 GB, free: 3.777 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/5.201, allocations: 32 kB / 2.773 GB, free: 3.746 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001921/5.201, allocations: 369.9 kB / 2.773 GB, free: 3.379 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004002/5.206, allocations: 0.972 MB / 2.774 GB, free: 2.406 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004534/5.21, allocations: 1.622 MB / 2.776 GB, free: 0.5195 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6971/5.907, allocations: 1.098 MB / 2.777 GB, free: 165.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/5.907, allocations: 3.812 kB / 2.777 GB, free: 165.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.0122/5.919, allocations: 3.126 MB / 2.78 GB, free: 165.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001173/5.921, allocations: 5.26 MB / 2.785 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/5.921, allocations: 15.78 kB / 2.785 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004436/5.925, allocations: 1.154 MB / 2.786 GB, free: 159.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/5.928, allocations: 449.1 kB / 2.787 GB, free: 159.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/5.932, allocations: 2.379 MB / 2.789 GB, free: 158.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/5.939, allocations: 431.5 kB / 2.79 GB, free: 158.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005634/5.939, allocations: 111.8 kB / 2.79 GB, free: 158.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/5.939, allocations: 3.25 kB / 2.79 GB, free: 158.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0104/5.95, allocations: 2.796 MB / 2.792 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-05/5.95, allocations: 16.95 kB / 2.792 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/5.954, allocations: 1.154 MB / 2.794 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/5.957, allocations: 431 kB / 2.794 GB, free: 158.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/5.961, allocations: 2.379 MB / 2.796 GB, free: 157.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/5.966, allocations: 370.9 kB / 2.797 GB, free: 157.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000507/5.967, allocations: 112.4 kB / 2.797 GB, free: 157.6 MB / 1.182 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 () * Number of clocked 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002345/5.969, allocations: 0.6932 MB / 2.797 GB, free: 157.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/5.97, allocations: 284.8 kB / 2.798 GB, free: 157.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/5.981, allocations: 2.415 MB / 2.8 GB, free: 157.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/5.981, allocations: 16.38 kB / 2.8 GB, free: 157.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/5.981, allocations: 5.125 kB / 2.8 GB, free: 157.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008927/5.99, allocations: 2.186 MB / 2.802 GB, free: 157.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/6.008, allocations: 7.139 MB / 2.809 GB, free: 155.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/6.008, allocations: 10.16 kB / 2.809 GB, free: 155.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/6.01, allocations: 269.3 kB / 2.809 GB, free: 155.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/6.013, allocations: 1.02 MB / 2.81 GB, free: 155.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/6.014, allocations: 52.06 kB / 2.811 GB, free: 155.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/6.017, allocations: 2.152 MB / 2.813 GB, free: 154.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/6.017, allocations: 9.75 kB / 2.813 GB, free: 154.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/6.03, allocations: 4.371 MB / 2.817 GB, free: 152.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/6.032, allocations: 0.6533 MB / 2.818 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007941/6.033, allocations: 33.66 kB / 2.818 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003651/6.036, allocations: 294.5 kB / 2.818 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/6.037, allocations: 112.8 kB / 2.818 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/6.037, allocations: 67.2 kB / 2.818 GB, free: 152.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003407/6.04, allocations: 1.913 MB / 2.82 GB, free: 152.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.1e-07/6.04, allocations: 1.406 kB / 2.82 GB, free: 152.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00706/6.047, allocations: 1.653 MB / 2.822 GB, free: 152.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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) * Number of clocked states: 0 () * 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.003023/6.05, allocations: 1.509 MB / 2.823 GB, free: 152.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01305/6.063, allocations: 3.683 MB / 2.827 GB, free: 151.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/6.064, allocations: 5.875 kB / 2.827 GB, free: 151.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/6.067, allocations: 1.086 MB / 2.828 GB, free: 151.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008112/6.076, allocations: 1.477 MB / 2.829 GB, free: 151.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/6.089, allocations: 5.804 MB / 2.835 GB, free: 149.3 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/6.09, allocations: 1.771 MB / 2.836 GB, free: 148.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004255/6.094, allocations: 0.6599 MB / 2.837 GB, free: 148.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/6.095, allocations: 235.2 kB / 2.837 GB, free: 148.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.002e-06/6.095, allocations: 0 / 2.837 GB, free: 148.5 MB / 1.182 GB Notification: Performance of Templates: time 0.1407/6.236, allocations: 78.27 MB / 2.914 GB, free: 144.9 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches