Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.484/2.484, allocations: 390.5 MB / 398 MB, free: 10.92 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.001773/0.001773, allocations: 188.3 kB / 491.2 MB, free: 1.547 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.585/1.585, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001002/0.001002, allocations: 87.58 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.888e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2894, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.509, allocations: 436.5 MB / 1.639 GB, free: 10.55 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/1.509, allocations: 91.5 kB / 1.639 GB, free: 10.5 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.162/5.671, allocations: 1.062 GB / 2.701 GB, free: 160.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.512e-06/5.671, allocations: 0 / 2.701 GB, free: 160.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006071/5.671, allocations: 80.52 kB / 2.701 GB, free: 160.4 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01197/5.683, allocations: 3.198 MB / 2.704 GB, free: 159.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/5.683, allocations: 15.42 kB / 2.704 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0091/5.692, allocations: 1.211 MB / 2.705 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008784/5.701, allocations: 3.319 MB / 2.709 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/5.702, allocations: 170.5 kB / 2.709 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009194/5.702, allocations: 142.5 kB / 2.709 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005712/5.708, allocations: 1.989 MB / 2.711 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009847/5.718, allocations: 2.506 MB / 2.713 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/5.718, allocations: 9.656 kB / 2.713 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/5.719, allocations: 7.781 kB / 2.713 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/5.72, allocations: 92.25 kB / 2.713 GB, free: 158.1 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.02493/5.744, allocations: 12.82 MB / 2.726 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/5.746, allocations: 1.136 MB / 2.727 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000755/5.747, allocations: 0.5735 MB / 2.727 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/5.749, allocations: 1.786 MB / 2.729 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/5.75, allocations: 0.9096 MB / 2.73 GB, free: 150 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 5.952e-06/5.75, allocations: 2.906 kB / 2.73 GB, free: 150 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.02183/5.772, allocations: 10.5 MB / 2.74 GB, free: 144 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/5.772, allocations: 0.9332 MB / 2.741 GB, free: 142.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/5.775, allocations: 1.835 MB / 2.743 GB, free: 142.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/5.775, allocations: 32.55 kB / 2.743 GB, free: 142.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/5.776, allocations: 1.394 MB / 2.744 GB, free: 142 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/5.777, allocations: 410.6 kB / 2.745 GB, free: 141.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/5.777, allocations: 0 / 2.745 GB, free: 141.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001101/5.777, allocations: 372.6 kB / 2.745 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008672/5.778, allocations: 0.5747 MB / 2.746 GB, free: 141.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/5.779, allocations: 1.199 MB / 2.747 GB, free: 140.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/5.782, allocations: 0.9521 MB / 2.748 GB, free: 140.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/5.782, allocations: 5.469 kB / 2.748 GB, free: 140.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005738/5.788, allocations: 2.337 MB / 2.75 GB, free: 140.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009074/5.789, allocations: 5.126 MB / 2.755 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/5.789, allocations: 14.88 kB / 2.755 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/5.79, allocations: 0.7128 MB / 2.756 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/5.793, allocations: 468.5 kB / 2.756 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/5.796, allocations: 2.268 MB / 2.759 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/5.801, allocations: 358 kB / 2.759 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/5.801, allocations: 111.2 kB / 2.759 GB, free: 134 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/5.801, allocations: 7.062 kB / 2.759 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005444/5.807, allocations: 2.053 MB / 2.761 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/5.807, allocations: 11.78 kB / 2.761 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/5.808, allocations: 0.715 MB / 2.762 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/5.81, allocations: 439.8 kB / 2.762 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/5.813, allocations: 2.277 MB / 2.764 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/5.818, allocations: 298.7 kB / 2.765 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/5.818, allocations: 109.5 kB / 2.765 GB, free: 132.8 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * 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 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006021/5.819, allocations: 158.1 kB / 2.765 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006199/5.819, allocations: 248.4 kB / 2.765 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/5.825, allocations: 1.827 MB / 2.767 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/5.825, allocations: 22.94 kB / 2.767 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/5.825, allocations: 9.922 kB / 2.767 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004967/5.83, allocations: 1.662 MB / 2.769 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/5.844, allocations: 6.154 MB / 2.775 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/5.844, allocations: 5.844 kB / 2.775 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/5.846, allocations: 286.2 kB / 2.775 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/5.847, allocations: 0.6044 MB / 2.775 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/5.847, allocations: 36.38 kB / 2.775 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/5.85, allocations: 2.016 MB / 2.777 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/5.85, allocations: 13.12 kB / 2.777 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006756/5.857, allocations: 3.307 MB / 2.781 GB, free: 128 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/5.859, allocations: 0.6091 MB / 2.781 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/5.859, allocations: 14.06 kB / 2.781 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/5.862, allocations: 241.3 kB / 2.782 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/5.863, allocations: 118.3 kB / 2.782 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/5.863, allocations: 70.19 kB / 2.782 GB, free: 127.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002088/5.865, allocations: 1.374 MB / 2.783 GB, free: 127.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/5.865, allocations: 0 / 2.783 GB, free: 127.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006236/5.871, allocations: 1.564 MB / 2.785 GB, free: 127.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (80): * Single equations (assignments): 74 * 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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002993/5.874, allocations: 1.479 MB / 2.786 GB, free: 127.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005955/5.88, allocations: 2.787 MB / 2.789 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/5.88, allocations: 4.438 kB / 2.789 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/5.882, allocations: 0.8425 MB / 2.79 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005959/5.888, allocations: 1.075 MB / 2.791 GB, free: 126.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009658/5.898, allocations: 3.751 MB / 2.794 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/5.899, allocations: 1.772 MB / 2.796 GB, free: 125 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004172/5.903, allocations: 0.7088 MB / 2.797 GB, free: 125 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/5.904, allocations: 170.6 kB / 2.797 GB, free: 125 MB / 1.167 GB Notification: Performance of SimCode: time 1.723e-06/5.904, allocations: 3.391 kB / 2.797 GB, free: 125 MB / 1.167 GB Notification: Performance of Templates: time 0.0904/5.994, allocations: 64.14 MB / 2.86 GB, free: 121.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches