Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.448/2.448, allocations: 390.5 MB / 398 MB, free: 10.96 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.001749/0.001749, allocations: 168.9 kB / 491.2 MB, free: 1.574 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.759/1.759, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009253/0.0009258, allocations: 109.2 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.895e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2889, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.498, allocations: 436.4 MB / 1.638 GB, free: 10.77 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.498, allocations: 99.05 kB / 1.639 GB, free: 10.71 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.107/5.606, allocations: 1.061 GB / 2.699 GB, free: 157.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.352e-06/5.606, allocations: 0 / 2.699 GB, free: 157.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003136/5.606, allocations: 84.62 kB / 2.699 GB, free: 157.8 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.00799/5.614, allocations: 3.178 MB / 2.703 GB, free: 156.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/5.614, allocations: 7.625 kB / 2.703 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008968/5.623, allocations: 1.209 MB / 2.704 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007413/5.631, allocations: 3.306 MB / 2.707 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/5.631, allocations: 165.7 kB / 2.707 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003951/5.631, allocations: 141.8 kB / 2.707 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003834/5.635, allocations: 1.966 MB / 2.709 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/5.639, allocations: 2.454 MB / 2.712 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/5.639, allocations: 10.25 kB / 2.712 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/5.64, allocations: 12.41 kB / 2.712 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/5.64, allocations: 69.34 kB / 2.712 GB, free: 155.5 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.01965/5.659, allocations: 12.62 MB / 2.724 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/5.661, allocations: 1.124 MB / 2.725 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/5.662, allocations: 0.5935 MB / 2.726 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/5.663, allocations: 1.777 MB / 2.727 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/5.665, allocations: 0.9221 MB / 2.728 GB, free: 147.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.537e-06/5.665, allocations: 0 / 2.728 GB, free: 147.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.006812/5.671, allocations: 1.84 MB / 2.73 GB, free: 147.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/5.672, allocations: 0.9349 MB / 2.731 GB, free: 146.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/5.674, allocations: 1.854 MB / 2.733 GB, free: 146.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/5.675, allocations: 32.95 kB / 2.733 GB, free: 146 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/5.676, allocations: 1.392 MB / 2.734 GB, free: 145.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/5.676, allocations: 399.2 kB / 2.735 GB, free: 145.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/5.676, allocations: 0 / 2.735 GB, free: 145.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/5.676, allocations: 363.3 kB / 2.735 GB, free: 145 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/5.677, allocations: 0.5973 MB / 2.736 GB, free: 145 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/5.678, allocations: 1.192 MB / 2.737 GB, free: 144.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/5.682, allocations: 0.96 MB / 2.738 GB, free: 144.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/5.682, allocations: 6.25 kB / 2.738 GB, free: 144.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006132/5.688, allocations: 2.275 MB / 2.74 GB, free: 144.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009802/5.689, allocations: 4.939 MB / 2.745 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/5.689, allocations: 12.75 kB / 2.745 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/5.69, allocations: 0.5341 MB / 2.745 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/5.693, allocations: 0.4919 MB / 2.746 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/5.695, allocations: 1.782 MB / 2.747 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004584/5.699, allocations: 442.2 kB / 2.748 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/5.699, allocations: 106.7 kB / 2.748 GB, free: 137.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/5.699, allocations: 3.938 kB / 2.748 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005118/5.705, allocations: 1.988 MB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/5.705, allocations: 18.61 kB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009889/5.706, allocations: 0.527 MB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/5.708, allocations: 479.2 kB / 2.751 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/5.71, allocations: 1.781 MB / 2.753 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/5.714, allocations: 362.1 kB / 2.753 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/5.714, allocations: 112.8 kB / 2.753 GB, free: 136.5 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004938/5.714, allocations: 165.4 kB / 2.753 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/5.715, allocations: 242 kB / 2.754 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006482/5.721, allocations: 1.842 MB / 2.755 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/5.722, allocations: 14.41 kB / 2.755 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/5.722, allocations: 7.906 kB / 2.755 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005506/5.727, allocations: 1.677 MB / 2.757 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/5.738, allocations: 6.252 MB / 2.763 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/5.738, allocations: 9.688 kB / 2.763 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/5.74, allocations: 292.1 kB / 2.763 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009954/5.741, allocations: 0.5225 MB / 2.764 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/5.741, allocations: 37.06 kB / 2.764 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/5.743, allocations: 1.762 MB / 2.766 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/5.743, allocations: 18.05 kB / 2.766 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006406/5.749, allocations: 3.293 MB / 2.769 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/5.751, allocations: 0.6201 MB / 2.769 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004281/5.751, allocations: 14.64 kB / 2.769 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00302/5.754, allocations: 258.9 kB / 2.77 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/5.754, allocations: 111.5 kB / 2.77 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/5.755, allocations: 75.89 kB / 2.77 GB, free: 131.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001911/5.757, allocations: 1.386 MB / 2.771 GB, free: 131.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.1e-07/5.757, allocations: 0 / 2.771 GB, free: 131.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005652/5.762, allocations: 1.805 MB / 2.773 GB, free: 130.8 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00262/5.765, allocations: 1.485 MB / 2.774 GB, free: 130.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004127/5.769, allocations: 2.551 MB / 2.777 GB, free: 130.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/5.769, allocations: 4.406 kB / 2.777 GB, free: 130.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/5.77, allocations: 0.7378 MB / 2.778 GB, free: 130.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006038/5.776, allocations: 1.073 MB / 2.779 GB, free: 130.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/5.789, allocations: 3.87 MB / 2.783 GB, free: 129.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/5.79, allocations: 1.772 MB / 2.784 GB, free: 128.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00456/5.795, allocations: 0.7632 MB / 2.785 GB, free: 128.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/5.795, allocations: 172.7 kB / 2.785 GB, free: 128.3 MB / 1.167 GB Notification: Performance of SimCode: time 9.91e-07/5.795, allocations: 2.938 kB / 2.785 GB, free: 128.3 MB / 1.167 GB Notification: Performance of Templates: time 0.08752/5.883, allocations: 62.69 MB / 2.846 GB, free: 124.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches