Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009808/0.0009808, allocations: 90.83 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007936/0.007936, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 462.7 MB / 0.7364 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003519, allocations: 9.031 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06739/0.356, allocations: 73.51 MB / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.3762, allocations: 15.04 MB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.3791, allocations: 63.62 kB / 1.145 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.3816, allocations: 0.6643 MB / 1.146 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.3896, allocations: 2.38 MB / 1.148 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.3933, allocations: 1.273 MB / 1.149 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007309/0.4007, allocations: 5.558 MB / 1.155 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.4032, allocations: 1.155 MB / 1.156 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.4067, allocations: 1.326 MB / 1.157 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.4091, allocations: 1.155 MB / 1.158 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004084/0.4095, allocations: 52 kB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.4129, allocations: 1.263 MB / 1.16 GB, free: 13.67 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.4134, allocations: 290.6 kB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.4149, allocations: 0.8061 MB / 1.161 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.419, allocations: 2.726 MB / 1.163 GB, free: 9.832 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4191, allocations: 0 / 1.163 GB, free: 9.832 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4191, allocations: 0 / 1.163 GB, free: 9.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.836e-05/0.4191, allocations: 0 / 1.163 GB, free: 9.832 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004515/0.4237, allocations: 1.791 MB / 1.165 GB, free: 7.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4237, allocations: 8.031 kB / 1.165 GB, free: 7.969 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.425, allocations: 246.9 kB / 1.165 GB, free: 7.727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/0.4291, allocations: 1.493 MB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.4292, allocations: 78 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.4295, allocations: 108 kB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.432, allocations: 1.116 MB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.4321, allocations: 0 / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.4322, allocations: 47.94 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.4323, allocations: 31.98 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.4344, allocations: 0.9329 MB / 1.169 GB, free: 3.836 MB / 0.92 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.006551/0.441, allocations: 4.912 MB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.4424, allocations: 0.647 MB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/0.4432, allocations: 374.8 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/0.4439, allocations: 0.8277 MB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.4439, allocations: 43.12 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.275e-06/0.4439, allocations: 0 / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.00518/0.4491, allocations: 1.526 MB / 1.177 GB, free: 11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.4492, allocations: 59.97 kB / 1.177 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.4509, allocations: 1.21 MB / 1.178 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.451, allocations: 41.7 kB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/0.4515, allocations: 0.6104 MB / 1.179 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.4517, allocations: 212.9 kB / 1.179 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.4518, allocations: 61.69 kB / 1.179 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.452, allocations: 341.9 kB / 1.18 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.4527, allocations: 301.8 kB / 1.18 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.4536, allocations: 0.5052 MB / 1.18 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.4552, allocations: 0.7472 MB / 1.181 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.4552, allocations: 7.984 kB / 1.181 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005247/0.4604, allocations: 1.402 MB / 1.183 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.4606, allocations: 193.5 kB / 1.183 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4606, allocations: 4 kB / 1.183 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/0.4613, allocations: 168.6 kB / 1.183 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.462, allocations: 163.8 kB / 1.183 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000921/0.4629, allocations: 0.7395 MB / 1.184 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.4643, allocations: 159.1 kB / 1.184 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.4644, allocations: 35.98 kB / 1.184 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.4644, allocations: 4 kB / 1.184 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004912/0.4693, allocations: 1.249 MB / 1.185 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4693, allocations: 4 kB / 1.185 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/0.47, allocations: 157.1 kB / 1.185 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.4706, allocations: 163.8 kB / 1.186 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008866/0.4715, allocations: 0.7318 MB / 1.186 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4728, allocations: 163.1 kB / 1.186 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.4729, allocations: 32 kB / 1.186 GB, free: 1.277 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006973/0.4736, allocations: 417 kB / 1.187 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.4739, allocations: 134.3 kB / 1.187 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.4791, allocations: 1.4 MB / 1.188 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.4792, allocations: 8 kB / 1.188 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4792, allocations: 0 / 1.188 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004585/0.4838, allocations: 1.221 MB / 1.19 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/0.4882, allocations: 2.349 MB / 1.192 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.4882, allocations: 4.438 kB / 1.192 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/0.4887, allocations: 127.8 kB / 1.192 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.4894, allocations: 152.7 kB / 1.192 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.4894, allocations: 20 kB / 1.192 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008524/0.4903, allocations: 0.7239 MB / 1.193 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.4903, allocations: 4 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.4933, allocations: 1.462 MB / 1.194 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/0.4941, allocations: 339 kB / 1.195 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.4944, allocations: 20 kB / 1.195 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.4954, allocations: 95.89 kB / 1.195 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4956, allocations: 56.25 kB / 1.195 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.4957, allocations: 31.97 kB / 1.195 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001407/0.4971, allocations: 0.8701 MB / 1.196 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4971, allocations: 7.938 kB / 1.196 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00203/0.4991, allocations: 0.6979 MB / 1.196 GB, free: 6.859 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.5001, allocations: 457.4 kB / 1.197 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002896/0.503, allocations: 1.172 MB / 1.198 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5031, allocations: 0 / 1.198 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.5041, allocations: 419.3 kB / 1.198 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/0.5089, allocations: 0.7987 MB / 1.199 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.5135, allocations: 2.824 MB / 1.202 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/0.5143, allocations: 1.173 MB / 1.203 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001379/0.5157, allocations: 303 kB / 1.203 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.5161, allocations: 111.4 kB / 1.203 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.5161, allocations: 4 kB / 1.203 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.05457/0.5707, allocations: 31.77 MB / 1.234 GB, free: 120 kB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches