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.242/2.242, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001122/0.001123, allocations: 187.5 kB / 0.4902 GB, free: 2.234 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.639/1.639, allocations: 223.1 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.001062/0.001062, allocations: 104.7 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 10.19 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2996, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.433, allocations: 437.3 MB / 1.656 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.433, allocations: 93.97 kB / 1.656 GB, free: 8.23 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.805/5.238, allocations: 1.071 GB / 2.727 GB, free: 25.72 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.353e-06/5.238, allocations: 0 / 2.727 GB, free: 25.72 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005372/5.239, allocations: 79.97 kB / 2.727 GB, free: 25.64 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.01231/5.251, allocations: 3.724 MB / 2.731 GB, free: 21.82 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/5.251, allocations: 8.031 kB / 2.731 GB, free: 21.81 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009547/5.261, allocations: 1.217 MB / 2.732 GB, free: 20.59 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009412/5.27, allocations: 3.336 MB / 2.735 GB, free: 17.17 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/5.27, allocations: 251.9 kB / 2.735 GB, free: 16.91 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/5.272, allocations: 236 kB / 2.736 GB, free: 16.68 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008572/5.28, allocations: 3.172 MB / 2.739 GB, free: 13.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/5.28, allocations: 7.938 kB / 2.739 GB, free: 13.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/5.281, allocations: 104 kB / 2.739 GB, free: 13.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-05/5.281, allocations: 104.1 kB / 2.739 GB, free: 13.09 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008435/5.289, allocations: 2.8 MB / 2.742 GB, free: 10.27 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.02259/5.312, allocations: 13.36 MB / 2.755 GB, free: 12.33 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/5.316, allocations: 1.523 MB / 2.756 GB, free: 10.75 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/5.318, allocations: 1.777 MB / 2.758 GB, free: 8.59 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003504/5.321, allocations: 1.199 MB / 2.759 GB, free: 7.293 MB / 1.182 GB Notification: Performance of pre-optimization done (n=118): time 3.727e-06/5.321, allocations: 4 kB / 2.759 GB, free: 7.289 MB / 1.182 GB Notification: Performance of matching and sorting (n=122): time 0.9322/6.254, allocations: 13.32 MB / 2.772 GB, free: 155.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003617/6.254, allocations: 0.9428 MB / 2.773 GB, free: 154.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006344/6.26, allocations: 2.426 MB / 2.775 GB, free: 154.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006529/6.261, allocations: 65.66 kB / 2.775 GB, free: 154.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/6.264, allocations: 1.356 MB / 2.777 GB, free: 154.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009154/6.265, allocations: 432 kB / 2.777 GB, free: 153.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/6.265, allocations: 31.78 kB / 2.777 GB, free: 153.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002068/6.265, allocations: 366.2 kB / 2.778 GB, free: 153.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004602/6.27, allocations: 0.9263 MB / 2.778 GB, free: 153.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005322/6.275, allocations: 1.56 MB / 2.78 GB, free: 152.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/6.279, allocations: 1.07 MB / 2.781 GB, free: 152.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/6.279, allocations: 2.219 kB / 2.781 GB, free: 152.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01127/6.291, allocations: 2.977 MB / 2.784 GB, free: 152.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001182/6.292, allocations: 5.261 MB / 2.789 GB, free: 147.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/6.292, allocations: 13.03 kB / 2.789 GB, free: 147.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/6.295, allocations: 0.9294 MB / 2.79 GB, free: 147.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/6.298, allocations: 456.9 kB / 2.79 GB, free: 147.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/6.302, allocations: 2.189 MB / 2.793 GB, free: 146.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/6.308, allocations: 414.2 kB / 2.793 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005529/6.308, allocations: 110.9 kB / 2.793 GB, free: 146 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/6.308, allocations: 3.156 kB / 2.793 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009817/6.318, allocations: 2.653 MB / 2.796 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/6.318, allocations: 11.84 kB / 2.796 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/6.321, allocations: 0.9303 MB / 2.797 GB, free: 145.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/6.324, allocations: 434.4 kB / 2.797 GB, free: 145.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/6.327, allocations: 2.188 MB / 2.799 GB, free: 144.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/6.333, allocations: 351.4 kB / 2.799 GB, free: 144.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004574/6.333, allocations: 116.2 kB / 2.8 GB, free: 144.9 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 (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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002595/6.336, allocations: 0.7015 MB / 2.8 GB, free: 144.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/6.337, allocations: 283.4 kB / 2.801 GB, free: 144.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009707/6.347, allocations: 2.351 MB / 2.803 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/6.347, allocations: 19.2 kB / 2.803 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/6.347, allocations: 3.844 kB / 2.803 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007962/6.355, allocations: 2.119 MB / 2.805 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/6.369, allocations: 6.77 MB / 2.812 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/6.369, allocations: 7.656 kB / 2.812 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/6.371, allocations: 283.9 kB / 2.812 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/6.374, allocations: 0.7921 MB / 2.813 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/6.374, allocations: 53.5 kB / 2.813 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/6.376, allocations: 1.959 MB / 2.815 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/6.376, allocations: 9.219 kB / 2.815 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/6.387, allocations: 4.125 MB / 2.819 GB, free: 139.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/6.389, allocations: 0.6514 MB / 2.819 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006476/6.39, allocations: 31.84 kB / 2.819 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003345/6.393, allocations: 284.8 kB / 2.819 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/6.394, allocations: 108.1 kB / 2.82 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/6.394, allocations: 75.61 kB / 2.82 GB, free: 139.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003347/6.397, allocations: 1.909 MB / 2.822 GB, free: 139.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.91e-07/6.397, allocations: 1.969 kB / 2.822 GB, free: 139.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006511/6.404, allocations: 1.656 MB / 2.823 GB, free: 139.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 (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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00302/6.407, allocations: 1.485 MB / 2.825 GB, free: 139.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.012/6.419, allocations: 3.547 MB / 2.828 GB, free: 138.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/6.419, allocations: 3.594 kB / 2.828 GB, free: 138.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003527/6.422, allocations: 1.045 MB / 2.829 GB, free: 138.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007991/6.43, allocations: 1.489 MB / 2.831 GB, free: 138.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/6.444, allocations: 6.004 MB / 2.836 GB, free: 136.3 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/6.446, allocations: 1.774 MB / 2.838 GB, free: 135.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004024/6.45, allocations: 0.6612 MB / 2.839 GB, free: 135.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/6.45, allocations: 237.3 kB / 2.839 GB, free: 135.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.272e-06/6.45, allocations: 0 / 2.839 GB, free: 135.5 MB / 1.182 GB Notification: Performance of Templates: time 0.1165/6.567, allocations: 76.13 MB / 2.913 GB, free: 132 MB / 1.182 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