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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 181.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 13.75 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1353/0.4735, allocations: 127.9 MB / 1.184 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04055/0.5142, allocations: 25.01 MB / 1.209 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006806/0.521, allocations: 123.2 kB / 1.209 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005721/0.5268, allocations: 1.422 MB / 1.21 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01555/0.5424, allocations: 4.214 MB / 1.214 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.5527, allocations: 3.182 MB / 1.217 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01629/0.569, allocations: 11.43 MB / 1.229 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006035/0.5751, allocations: 2.542 MB / 1.231 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007599/0.5827, allocations: 2.761 MB / 1.234 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/0.5875, allocations: 2.317 MB / 1.236 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.5887, allocations: 132 kB / 1.236 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007476/0.5962, allocations: 2.479 MB / 1.239 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.5977, allocations: 0.6143 MB / 1.239 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004149/0.6019, allocations: 1.727 MB / 1.241 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007956/0.6099, allocations: 4.84 MB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6099, allocations: 0 / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.61, allocations: 0 / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002052/0.6102, allocations: 0 / 1.246 GB, free: 5.68 MB / 0.9981 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.008785/0.619, allocations: 3.387 MB / 1.249 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.619, allocations: 12.03 kB / 1.249 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.6295, allocations: 1.374 MB / 1.25 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6439/1.273, allocations: 2.924 MB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/1.274, allocations: 252.3 kB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000568/1.274, allocations: 233.1 kB / 1.254 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008035/1.282, allocations: 3.214 MB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/1.282, allocations: 10.34 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/1.283, allocations: 99.98 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/1.283, allocations: 79.41 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00895/1.292, allocations: 2.82 MB / 1.26 GB, free: 182 MB / 0.9981 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.02268/1.315, allocations: 13.63 MB / 1.273 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/1.319, allocations: 1.432 MB / 1.274 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/1.322, allocations: 0.8881 MB / 1.275 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/1.324, allocations: 1.785 MB / 1.277 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004011/1.328, allocations: 1.166 MB / 1.278 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 4.228e-06/1.328, allocations: 2.75 kB / 1.278 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.0358/1.364, allocations: 9.823 MB / 1.288 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.364, allocations: 0.5846 MB / 1.288 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/1.369, allocations: 2.617 MB / 1.291 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004575/1.37, allocations: 63.73 kB / 1.291 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.371, allocations: 1.34 MB / 1.292 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/1.371, allocations: 459.7 kB / 1.293 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/1.372, allocations: 148.6 kB / 1.293 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/1.372, allocations: 306.4 kB / 1.293 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/1.375, allocations: 0.964 MB / 1.294 GB, free: 163 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003996/1.379, allocations: 1.565 MB / 1.295 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00668/1.386, allocations: 2.231 MB / 1.298 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/1.386, allocations: 4.859 kB / 1.298 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01189/1.398, allocations: 3.176 MB / 1.301 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000282/1.398, allocations: 494 kB / 1.301 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/1.398, allocations: 11.28 kB / 1.301 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.401, allocations: 0.9284 MB / 1.302 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/1.404, allocations: 477.7 kB / 1.303 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/1.407, allocations: 2.204 MB / 1.305 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/1.412, allocations: 392.2 kB / 1.305 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/1.412, allocations: 110.8 kB / 1.305 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.412, allocations: 7.844 kB / 1.305 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009695/1.422, allocations: 2.88 MB / 1.308 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/1.422, allocations: 11.88 kB / 1.308 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/1.425, allocations: 0.9324 MB / 1.309 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/1.427, allocations: 478.3 kB / 1.309 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/1.43, allocations: 2.19 MB / 1.312 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/1.434, allocations: 361.3 kB / 1.312 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/1.435, allocations: 106.8 kB / 1.312 GB, free: 151.8 MB / 0.9981 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001686/1.436, allocations: 0.7031 MB / 1.313 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/1.437, allocations: 283.7 kB / 1.313 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00696/1.444, allocations: 2.317 MB / 1.315 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/1.444, allocations: 14.88 kB / 1.315 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.444, allocations: 5.5 kB / 1.315 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005795/1.45, allocations: 1.938 MB / 1.317 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.463, allocations: 6.285 MB / 1.323 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.463, allocations: 8 kB / 1.323 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.465, allocations: 291.6 kB / 1.324 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/1.467, allocations: 0.7944 MB / 1.324 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.467, allocations: 59.88 kB / 1.324 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.469, allocations: 1.961 MB / 1.326 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.469, allocations: 15.88 kB / 1.326 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.48, allocations: 3.554 MB / 1.33 GB, free: 135 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.482, allocations: 0.6534 MB / 1.33 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004933/1.482, allocations: 39.98 kB / 1.33 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/1.485, allocations: 285.7 kB / 1.331 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.486, allocations: 120.6 kB / 1.331 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.486, allocations: 75.91 kB / 1.331 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002785/1.489, allocations: 1.84 MB / 1.333 GB, free: 132 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.489, allocations: 0 / 1.333 GB, free: 132 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004215/1.493, allocations: 1.474 MB / 1.334 GB, free: 130.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/1.494, allocations: 0.8166 MB / 1.335 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.505, allocations: 3.683 MB / 1.339 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.505, allocations: 448 / 1.339 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003145/1.508, allocations: 1.012 MB / 1.34 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/1.519, allocations: 1.58 MB / 1.341 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.531, allocations: 6.36 MB / 1.347 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009689/1.532, allocations: 1.721 MB / 1.349 GB, free: 115.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.533, allocations: 295 kB / 1.349 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.533, allocations: 0 / 1.349 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.08639/1.619, allocations: 82.11 MB / 1.429 GB, free: 33.35 MB / 0.9981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches