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.0007941/0.0007942, allocations: 98.88 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.001003/0.001003, allocations: 182.9 kB / 16.92 MB, free: 6.668 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 443.2 MB / 0.7181 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.000367, allocations: 14.84 kB / 0.8801 GB, free: 42.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3276, allocations: 155.2 MB / 1.032 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1204/0.448, allocations: 127.9 MB / 1.157 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04062/0.4886, allocations: 25.02 MB / 1.181 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006956/0.4957, allocations: 123.2 kB / 1.181 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00588/0.5016, allocations: 1.422 MB / 1.182 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.5165, allocations: 4.207 MB / 1.187 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.009745/0.5263, allocations: 3.177 MB / 1.19 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01615/0.5424, allocations: 11.42 MB / 1.201 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007042/0.5495, allocations: 2.546 MB / 1.203 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008836/0.5584, allocations: 2.78 MB / 1.206 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005593/0.564, allocations: 2.31 MB / 1.208 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.5655, allocations: 132 kB / 1.208 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008159/0.5737, allocations: 2.473 MB / 1.211 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.5754, allocations: 0.6221 MB / 1.211 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004432/0.5799, allocations: 1.727 MB / 1.213 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009158/0.5891, allocations: 4.84 MB / 1.218 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5892, allocations: 4 kB / 1.218 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.226e-06/0.5892, allocations: 0 / 1.218 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002242/0.5894, allocations: 0 / 1.218 GB, free: 5.391 MB / 0.9669 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.009148/0.5986, allocations: 3.394 MB / 1.221 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5986, allocations: 8.031 kB / 1.221 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.6092, allocations: 1.37 MB / 1.223 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006063/0.6153, allocations: 2.931 MB / 1.225 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.6156, allocations: 252 kB / 1.226 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005527/0.6162, allocations: 243.9 kB / 1.226 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008514/0.6247, allocations: 3.206 MB / 1.229 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.6248, allocations: 7.938 kB / 1.229 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003269/0.6252, allocations: 107.9 kB / 1.229 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.6253, allocations: 79.86 kB / 1.229 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009559/0.6349, allocations: 2.823 MB / 1.232 GB, free: 6.582 MB / 0.9825 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.0249/0.6598, allocations: 13.62 MB / 1.245 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/0.6644, allocations: 1.442 MB / 1.247 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/0.6676, allocations: 0.8847 MB / 1.247 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/0.6699, allocations: 1.785 MB / 1.249 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004124/0.674, allocations: 1.161 MB / 1.25 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 5.751e-06/0.6741, allocations: 0 / 1.25 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.6279/1.302, allocations: 9.817 MB / 1.26 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/1.302, allocations: 0.5796 MB / 1.261 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005955/1.308, allocations: 2.623 MB / 1.263 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005429/1.309, allocations: 63.48 kB / 1.263 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.31, allocations: 1.339 MB / 1.264 GB, free: 206 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007115/1.311, allocations: 467 kB / 1.265 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/1.311, allocations: 148.8 kB / 1.265 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/1.312, allocations: 306.5 kB / 1.265 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004037/1.316, allocations: 0.9607 MB / 1.266 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004337/1.32, allocations: 1.56 MB / 1.268 GB, free: 204.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007923/1.328, allocations: 2.23 MB / 1.27 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/1.328, allocations: 3.781 kB / 1.27 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01286/1.341, allocations: 3.173 MB / 1.273 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002719/1.341, allocations: 491.2 kB / 1.274 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/1.341, allocations: 15.34 kB / 1.274 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003331/1.344, allocations: 0.9357 MB / 1.274 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/1.348, allocations: 480.3 kB / 1.275 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/1.351, allocations: 2.194 MB / 1.277 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005803/1.357, allocations: 401.9 kB / 1.277 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004684/1.358, allocations: 107.3 kB / 1.278 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.358, allocations: 3.797 kB / 1.278 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01142/1.369, allocations: 2.884 MB / 1.28 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.495e-05/1.369, allocations: 12.16 kB / 1.28 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/1.372, allocations: 0.9295 MB / 1.281 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/1.375, allocations: 478.6 kB / 1.282 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/1.378, allocations: 2.188 MB / 1.284 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/1.383, allocations: 364.3 kB / 1.284 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000378/1.384, allocations: 105.5 kB / 1.284 GB, free: 196.9 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.001892/1.385, allocations: 0.7043 MB / 1.285 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008733/1.386, allocations: 287.6 kB / 1.285 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007279/1.394, allocations: 2.312 MB / 1.288 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/1.394, allocations: 19.48 kB / 1.288 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.394, allocations: 3.969 kB / 1.288 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005946/1.4, allocations: 1.933 MB / 1.289 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.414, allocations: 6.28 MB / 1.296 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.414, allocations: 11.5 kB / 1.296 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.415, allocations: 296.7 kB / 1.296 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/1.418, allocations: 0.7869 MB / 1.297 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/1.418, allocations: 51.83 kB / 1.297 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/1.421, allocations: 1.966 MB / 1.299 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.421, allocations: 15.64 kB / 1.299 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.432, allocations: 3.561 MB / 1.302 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.434, allocations: 0.6488 MB / 1.303 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006754/1.434, allocations: 34.47 kB / 1.303 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003518/1.438, allocations: 289.4 kB / 1.303 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/1.438, allocations: 118 kB / 1.303 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/1.438, allocations: 81.45 kB / 1.303 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002905/1.441, allocations: 1.835 MB / 1.305 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.441, allocations: 0 / 1.305 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005192/1.446, allocations: 1.482 MB / 1.306 GB, free: 183.7 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.001838/1.448, allocations: 0.7972 MB / 1.307 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.46, allocations: 3.684 MB / 1.311 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/1.46, allocations: 4.438 kB / 1.311 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.463, allocations: 1.011 MB / 1.312 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/1.474, allocations: 1.57 MB / 1.313 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.487, allocations: 6.382 MB / 1.32 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.488, allocations: 1.714 MB / 1.321 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.489, allocations: 299.1 kB / 1.322 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/1.489, allocations: 0 / 1.322 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0808/1.57, allocations: 82.12 MB / 1.402 GB, free: 86.51 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