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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001212/0.001212, allocations: 182.9 kB / 0.4902 GB, free: 2.242 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.652/1.652, allocations: 223.2 MB / 0.7992 GB, free: 14.67 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.001169/0.001169, allocations: 99.94 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003847, allocations: 14.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3303, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.575, allocations: 437.7 MB / 1.657 GB, free: 7.973 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.575, allocations: 98.7 kB / 1.657 GB, free: 7.922 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.861/5.437, allocations: 1.07 GB / 2.727 GB, free: 26.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.804e-06/5.437, allocations: 0 / 2.727 GB, free: 26.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005495/5.437, allocations: 83.97 kB / 2.727 GB, free: 26.02 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.01227/5.449, allocations: 3.692 MB / 2.73 GB, free: 22.22 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/5.449, allocations: 8.031 kB / 2.73 GB, free: 22.21 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/5.46, allocations: 1.307 MB / 2.732 GB, free: 20.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009702/5.47, allocations: 3.34 MB / 2.735 GB, free: 17.48 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000387/5.47, allocations: 251.9 kB / 2.735 GB, free: 17.22 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/5.471, allocations: 232 kB / 2.735 GB, free: 16.99 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/5.482, allocations: 3.199 MB / 2.739 GB, free: 13.59 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/5.482, allocations: 11.88 kB / 2.739 GB, free: 13.58 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007811/5.483, allocations: 104 kB / 2.739 GB, free: 13.48 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/5.483, allocations: 71.92 kB / 2.739 GB, free: 13.41 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/5.494, allocations: 2.878 MB / 2.742 GB, free: 10.51 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.02677/5.52, allocations: 13.51 MB / 2.755 GB, free: 12.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005072/5.526, allocations: 1.58 MB / 2.756 GB, free: 10.77 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002243/5.528, allocations: 1.773 MB / 2.758 GB, free: 8.609 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004411/5.532, allocations: 1.269 MB / 2.759 GB, free: 7.242 MB / 1.182 GB Notification: Performance of pre-optimization done (n=118): time 9.468e-06/5.532, allocations: 112 / 2.759 GB, free: 7.242 MB / 1.182 GB Notification: Performance of matching and sorting (n=122): time 1.074/6.606, allocations: 16.27 MB / 2.775 GB, free: 154 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000293/6.606, allocations: 0.9363 MB / 2.776 GB, free: 152.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007783/6.614, allocations: 2.426 MB / 2.778 GB, free: 152.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0007436/6.615, allocations: 60.03 kB / 2.779 GB, free: 152.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/6.617, allocations: 1.354 MB / 2.78 GB, free: 152.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009532/6.618, allocations: 427.7 kB / 2.78 GB, free: 152 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/6.618, allocations: 31.22 kB / 2.78 GB, free: 152 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001705/6.618, allocations: 369.1 kB / 2.781 GB, free: 151.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005802/6.624, allocations: 0.9758 MB / 2.782 GB, free: 151.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006424/6.631, allocations: 1.609 MB / 2.783 GB, free: 151.1 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/6.635, allocations: 1.11 MB / 2.784 GB, free: 151 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/6.635, allocations: 3.281 kB / 2.784 GB, free: 151 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01605/6.651, allocations: 3.122 MB / 2.787 GB, free: 150.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001592/6.653, allocations: 5.262 MB / 2.792 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.616e-05/6.653, allocations: 16.56 kB / 2.792 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006199/6.659, allocations: 1.149 MB / 2.794 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/6.664, allocations: 454.3 kB / 2.794 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/6.67, allocations: 2.381 MB / 2.796 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007136/6.677, allocations: 432.2 kB / 2.797 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005671/6.678, allocations: 107.5 kB / 2.797 GB, free: 144.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/6.678, allocations: 5.625 kB / 2.797 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01082/6.688, allocations: 2.791 MB / 2.8 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/6.689, allocations: 11.53 kB / 2.8 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/6.692, allocations: 1.161 MB / 2.801 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/6.695, allocations: 437.1 kB / 2.801 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/6.699, allocations: 2.38 MB / 2.803 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/6.704, allocations: 362.6 kB / 2.804 GB, free: 143 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/6.704, allocations: 111.1 kB / 2.804 GB, free: 143 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.002209/6.706, allocations: 0.6976 MB / 2.805 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/6.707, allocations: 286 kB / 2.805 GB, free: 142.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/6.718, allocations: 2.421 MB / 2.807 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/6.718, allocations: 17.31 kB / 2.807 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/6.718, allocations: 3.438 kB / 2.807 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008827/6.727, allocations: 2.181 MB / 2.809 GB, free: 142.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/6.744, allocations: 7.15 MB / 2.816 GB, free: 140.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/6.744, allocations: 3.688 kB / 2.816 GB, free: 140.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/6.746, allocations: 276.8 kB / 2.817 GB, free: 140.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/6.749, allocations: 1.023 MB / 2.818 GB, free: 140.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/6.749, allocations: 49.98 kB / 2.818 GB, free: 140.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/6.753, allocations: 2.153 MB / 2.82 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/6.753, allocations: 6.938 kB / 2.82 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/6.766, allocations: 4.351 MB / 2.824 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/6.769, allocations: 0.6635 MB / 2.825 GB, free: 137.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006964/6.77, allocations: 35.16 kB / 2.825 GB, free: 137.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003723/6.773, allocations: 290.9 kB / 2.825 GB, free: 137.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/6.774, allocations: 112.9 kB / 2.825 GB, free: 137.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/6.774, allocations: 71.7 kB / 2.825 GB, free: 137.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003363/6.777, allocations: 1.905 MB / 2.827 GB, free: 137.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.2e-07/6.777, allocations: 0 / 2.827 GB, free: 137.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006761/6.784, allocations: 1.653 MB / 2.829 GB, free: 137.5 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.003277/6.787, allocations: 1.511 MB / 2.83 GB, free: 137.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01382/6.801, allocations: 3.676 MB / 2.834 GB, free: 137 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/6.801, allocations: 1.844 kB / 2.834 GB, free: 137 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003777/6.805, allocations: 1.087 MB / 2.835 GB, free: 137 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007453/6.812, allocations: 1.49 MB / 2.836 GB, free: 137 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/6.824, allocations: 5.796 MB / 2.842 GB, free: 134.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/6.826, allocations: 1.768 MB / 2.844 GB, free: 133.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00397/6.83, allocations: 0.6661 MB / 2.844 GB, free: 133.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006628/6.83, allocations: 237 kB / 2.844 GB, free: 133.7 MB / 1.182 GB Notification: Performance of SimCode: time 2.284e-06/6.83, allocations: 2.375 kB / 2.844 GB, free: 133.7 MB / 1.182 GB Notification: Performance of Templates: time 0.1134/6.944, allocations: 78.27 MB / 2.921 GB, free: 129.9 MB / 1.182 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