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.325/2.325, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001106/0.001106, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.735/1.735, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0009825/0.0009827, allocations: 103.8 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.281e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3455, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.639, allocations: 437.2 MB / 1.646 GB, free: 13.07 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.639, allocations: 91.89 kB / 1.646 GB, free: 12.98 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.132/5.771, allocations: 1.067 GB / 2.713 GB, free: 165.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.112e-06/5.771, allocations: 0 / 2.713 GB, free: 165.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000259/5.771, allocations: 83.36 kB / 2.713 GB, free: 165.6 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.006379/5.777, allocations: 3.207 MB / 2.716 GB, free: 164.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/5.777, allocations: 11.47 kB / 2.716 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008235/5.786, allocations: 1.212 MB / 2.718 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/5.792, allocations: 3.316 MB / 2.721 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/5.792, allocations: 258.2 kB / 2.721 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/5.793, allocations: 231.8 kB / 2.721 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004691/5.797, allocations: 2.833 MB / 2.724 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/5.798, allocations: 2.719 kB / 2.724 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/5.798, allocations: 108 kB / 2.724 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/5.798, allocations: 92.42 kB / 2.724 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/5.801, allocations: 2.144 MB / 2.726 GB, free: 162.9 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.01837/5.82, allocations: 13.35 MB / 2.739 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/5.821, allocations: 1.196 MB / 2.741 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008598/5.822, allocations: 0.6047 MB / 2.741 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/5.824, allocations: 1.776 MB / 2.743 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/5.825, allocations: 0.9455 MB / 2.744 GB, free: 154.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.048e-06/5.825, allocations: 6.406 kB / 2.744 GB, free: 154.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.01687/5.842, allocations: 10.05 MB / 2.754 GB, free: 148.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002361/5.842, allocations: 0.942 MB / 2.755 GB, free: 147.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/5.846, allocations: 2.341 MB / 2.757 GB, free: 147.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003318/5.846, allocations: 66.31 kB / 2.757 GB, free: 147.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/5.847, allocations: 1.37 MB / 2.758 GB, free: 146.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/5.848, allocations: 427.7 kB / 2.759 GB, free: 146.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/5.848, allocations: 34.84 kB / 2.759 GB, free: 146.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001075/5.848, allocations: 375 kB / 2.759 GB, free: 146.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/5.849, allocations: 0.6041 MB / 2.76 GB, free: 146.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/5.85, allocations: 1.237 MB / 2.761 GB, free: 145.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/5.852, allocations: 0.7548 MB / 2.762 GB, free: 145.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/5.852, allocations: 9.812 kB / 2.762 GB, free: 145.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004018/5.856, allocations: 2.303 MB / 2.764 GB, free: 145.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009161/5.857, allocations: 5.259 MB / 2.769 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/5.857, allocations: 17.83 kB / 2.769 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/5.859, allocations: 0.8717 MB / 2.77 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/5.862, allocations: 453.2 kB / 2.77 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/5.865, allocations: 2.163 MB / 2.772 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/5.871, allocations: 428.5 kB / 2.773 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/5.871, allocations: 107.5 kB / 2.773 GB, free: 138.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/5.871, allocations: 3.406 kB / 2.773 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003721/5.875, allocations: 2.026 MB / 2.775 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/5.875, allocations: 13.75 kB / 2.775 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/5.878, allocations: 0.8767 MB / 2.776 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/5.88, allocations: 442.3 kB / 2.776 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/5.883, allocations: 2.162 MB / 2.778 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/5.888, allocations: 369.2 kB / 2.779 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/5.888, allocations: 105.3 kB / 2.779 GB, free: 137.3 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,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006375/5.889, allocations: 214.3 kB / 2.779 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/5.889, allocations: 285.9 kB / 2.779 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/5.894, allocations: 1.725 MB / 2.781 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/5.894, allocations: 13.78 kB / 2.781 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/5.894, allocations: 10.03 kB / 2.781 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003043/5.897, allocations: 1.477 MB / 2.782 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/5.908, allocations: 6.294 MB / 2.788 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/5.908, allocations: 7.281 kB / 2.788 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/5.909, allocations: 280.4 kB / 2.789 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/5.911, allocations: 0.7283 MB / 2.789 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/5.912, allocations: 50.38 kB / 2.79 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/5.914, allocations: 1.929 MB / 2.791 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/5.914, allocations: 10.47 kB / 2.791 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/5.918, allocations: 3.264 MB / 2.795 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/5.92, allocations: 0.6564 MB / 2.795 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/5.921, allocations: 35.5 kB / 2.795 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003548/5.924, allocations: 278.8 kB / 2.796 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/5.925, allocations: 110.8 kB / 2.796 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/5.925, allocations: 73.48 kB / 2.796 GB, free: 132 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002725/5.928, allocations: 1.822 MB / 2.797 GB, free: 131.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.183e-06/5.928, allocations: 0 / 2.797 GB, free: 131.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005136/5.933, allocations: 1.656 MB / 2.799 GB, free: 131.7 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.002497/5.935, allocations: 1.478 MB / 2.801 GB, free: 131.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00582/5.941, allocations: 2.965 MB / 2.803 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/5.941, allocations: 3.312 kB / 2.803 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/5.943, allocations: 0.8809 MB / 2.804 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006835/5.95, allocations: 1.497 MB / 2.806 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008301/5.958, allocations: 3.888 MB / 2.81 GB, free: 130 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009711/5.959, allocations: 1.774 MB / 2.811 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004081/5.963, allocations: 0.8414 MB / 2.812 GB, free: 129.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/5.964, allocations: 185 kB / 2.812 GB, free: 129.2 MB / 1.167 GB Notification: Performance of SimCode: time 7.41e-07/5.964, allocations: 0 / 2.812 GB, free: 129.2 MB / 1.167 GB Notification: Performance of Templates: time 0.1055/6.069, allocations: 81.47 MB / 2.892 GB, free: 117.2 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