Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 97.33 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.007183/0.007183, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 462.7 MB / 0.7364 GB, free: 184 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 8.25 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 159.6 MB / 1.059 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06895/0.4016, allocations: 73.48 MB / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.4222, allocations: 15.04 MB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.425, allocations: 55.62 kB / 1.145 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.4275, allocations: 0.6682 MB / 1.146 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.4352, allocations: 2.395 MB / 1.148 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.4399, allocations: 1.281 MB / 1.149 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008611/0.4485, allocations: 5.556 MB / 1.155 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.4509, allocations: 1.159 MB / 1.156 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.4542, allocations: 1.322 MB / 1.157 GB, free: 132 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.4564, allocations: 1.147 MB / 1.158 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004486/0.4569, allocations: 56 kB / 1.158 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.46, allocations: 1.236 MB / 1.16 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.4606, allocations: 298.6 kB / 1.16 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.462, allocations: 0.7983 MB / 1.161 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.4662, allocations: 2.714 MB / 1.163 GB, free: 9.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4662, allocations: 0 / 1.163 GB, free: 9.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4663, allocations: 0 / 1.163 GB, free: 9.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.573e-05/0.4663, allocations: 0 / 1.163 GB, free: 9.859 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.003818/0.4702, allocations: 1.795 MB / 1.165 GB, free: 8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4702, allocations: 8.031 kB / 1.165 GB, free: 7.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.4711, allocations: 238.8 kB / 1.165 GB, free: 7.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.4738, allocations: 1.482 MB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.4738, allocations: 82 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.474, allocations: 103.9 kB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.4762, allocations: 1.116 MB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.4763, allocations: 4 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.4764, allocations: 40 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.4764, allocations: 31.94 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.4785, allocations: 0.9329 MB / 1.169 GB, free: 3.883 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.006348/0.4848, allocations: 4.923 MB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.4863, allocations: 0.6431 MB / 1.174 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.4871, allocations: 370.8 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000577/0.4877, allocations: 0.8238 MB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4877, allocations: 43.12 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.565e-06/0.4877, allocations: 3.938 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007769/0.4955, allocations: 1.896 MB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.4956, allocations: 63.91 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.4974, allocations: 1.21 MB / 1.179 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.4975, allocations: 45.7 kB / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/0.4981, allocations: 0.5987 MB / 1.179 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.4984, allocations: 216.9 kB / 1.18 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.4986, allocations: 61.69 kB / 1.18 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4988, allocations: 334 kB / 1.18 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/0.4996, allocations: 301.8 kB / 1.18 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.5006, allocations: 0.5139 MB / 1.181 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.5023, allocations: 0.748 MB / 1.181 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.5023, allocations: 4 kB / 1.181 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005534/0.5078, allocations: 1.41 MB / 1.183 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.508, allocations: 190.3 kB / 1.183 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.508, allocations: 4 kB / 1.183 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/0.5087, allocations: 160.6 kB / 1.183 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.5093, allocations: 163.8 kB / 1.183 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/0.5102, allocations: 0.7161 MB / 1.184 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.5115, allocations: 167.1 kB / 1.184 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.5116, allocations: 31.98 kB / 1.184 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.5117, allocations: 4 kB / 1.184 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004892/0.5166, allocations: 1.257 MB / 1.185 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.5166, allocations: 4 kB / 1.185 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/0.5172, allocations: 149.1 kB / 1.186 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.5179, allocations: 163.7 kB / 1.186 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000888/0.5188, allocations: 0.7162 MB / 1.186 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.5202, allocations: 166 kB / 1.187 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.5204, allocations: 31.98 kB / 1.187 GB, free: 0.9844 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007788/0.5212, allocations: 424.9 kB / 1.187 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.5215, allocations: 134.3 kB / 1.187 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/0.5269, allocations: 1.396 MB / 1.189 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.527, allocations: 11.98 kB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.527, allocations: 0 / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005082/0.5321, allocations: 1.24 MB / 1.19 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008825/0.541, allocations: 2.739 MB / 1.192 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.541, allocations: 4 kB / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.5415, allocations: 128.2 kB / 1.193 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/0.5421, allocations: 144.8 kB / 1.193 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.5421, allocations: 16 kB / 1.193 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005033/0.5472, allocations: 2.489 MB / 1.195 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5472, allocations: 4 kB / 1.195 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.5532, allocations: 1.867 MB / 1.197 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/0.554, allocations: 327.1 kB / 1.197 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.5543, allocations: 19.94 kB / 1.197 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.5554, allocations: 100 kB / 1.197 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.5555, allocations: 60.23 kB / 1.197 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.5556, allocations: 27.98 kB / 1.198 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001434/0.557, allocations: 0.8779 MB / 1.198 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5571, allocations: 3.938 kB / 1.198 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002139/0.5592, allocations: 0.7095 MB / 1.199 GB, free: 3.867 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.5602, allocations: 438.3 kB / 1.199 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00289/0.5631, allocations: 1.172 MB / 1.201 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5632, allocations: 0 / 1.201 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.5648, allocations: 0.6073 MB / 1.201 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/0.5699, allocations: 0.7815 MB / 1.202 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.5744, allocations: 2.825 MB / 1.205 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008753/0.5753, allocations: 1.172 MB / 1.206 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001419/0.5768, allocations: 311 kB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.5771, allocations: 107.4 kB / 1.206 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of SimCode: time 7.12e-07/0.5772, allocations: 0 / 1.206 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of Templates: time 0.05448/0.6316, allocations: 31.9 MB / 1.237 GB, free: 12.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches