Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,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.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,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.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009265, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007342/0.007342, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.417/1.417, 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.826/2.826, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 11.5 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 159.6 MB / 1.059 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0684/0.3518, allocations: 73.51 MB / 1.13 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.3713, allocations: 15.04 MB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.3735, allocations: 59.62 kB / 1.145 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.3756, allocations: 0.672 MB / 1.146 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.382, allocations: 2.376 MB / 1.148 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.3852, allocations: 1.28 MB / 1.149 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006228/0.3915, allocations: 5.562 MB / 1.155 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.3933, allocations: 1.159 MB / 1.156 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.3958, allocations: 1.322 MB / 1.157 GB, free: 108 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.3974, allocations: 1.147 MB / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.3976, allocations: 56 kB / 1.158 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.4003, allocations: 1.239 MB / 1.16 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.4006, allocations: 290.6 kB / 1.16 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.4015, allocations: 0.7983 MB / 1.161 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.4048, allocations: 2.718 MB / 1.163 GB, free: 9.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4048, allocations: 0 / 1.163 GB, free: 9.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4048, allocations: 0 / 1.163 GB, free: 9.836 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.4049, allocations: 3.938 kB / 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.003132/0.408, allocations: 1.783 MB / 1.165 GB, free: 7.984 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.408, allocations: 8.031 kB / 1.165 GB, free: 7.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/0.4088, allocations: 246.8 kB / 1.165 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.411, allocations: 1.486 MB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.4111, allocations: 74 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.4113, allocations: 108 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.4132, allocations: 1.12 MB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4133, allocations: 0 / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.4134, allocations: 44 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.4134, allocations: 24 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.4153, allocations: 0.9329 MB / 1.169 GB, free: 3.863 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.005368/0.4207, allocations: 4.927 MB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.4221, allocations: 0.6411 MB / 1.174 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007319/0.4229, allocations: 370.8 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.4235, allocations: 0.8277 MB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.4235, allocations: 43.12 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.635e-06/0.4236, allocations: 0 / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007553/0.4311, allocations: 1.896 MB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.4312, allocations: 59.97 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.4328, allocations: 1.21 MB / 1.179 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4329, allocations: 37.7 kB / 1.179 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/0.4334, allocations: 0.6104 MB / 1.179 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.4336, allocations: 216.9 kB / 1.18 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.4337, allocations: 65.67 kB / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4338, allocations: 334 kB / 1.18 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006882/0.4345, allocations: 297.8 kB / 1.18 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/0.4353, allocations: 0.51 MB / 1.181 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4368, allocations: 0.7558 MB / 1.182 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4368, allocations: 4 kB / 1.182 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00508/0.4419, allocations: 1.402 MB / 1.183 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.4421, allocations: 202.3 kB / 1.183 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4421, allocations: 4 kB / 1.183 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/0.4427, allocations: 156.6 kB / 1.183 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.4434, allocations: 163.8 kB / 1.183 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008723/0.4442, allocations: 0.7201 MB / 1.184 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.4455, allocations: 159.1 kB / 1.184 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.4456, allocations: 39.98 kB / 1.184 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.4456, allocations: 4 kB / 1.184 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004737/0.4503, allocations: 1.257 MB / 1.186 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4504, allocations: 4 kB / 1.186 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.4509, allocations: 149.1 kB / 1.186 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.4515, allocations: 159.8 kB / 1.186 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008686/0.4524, allocations: 0.7278 MB / 1.187 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4537, allocations: 155.2 kB / 1.187 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.4537, allocations: 35.98 kB / 1.187 GB, free: 0.9531 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.0006493/0.4544, allocations: 417 kB / 1.187 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.4547, allocations: 134.3 kB / 1.187 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00507/0.4598, allocations: 1.408 MB / 1.189 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.4598, allocations: 8 kB / 1.189 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4598, allocations: 0 / 1.189 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004463/0.4643, allocations: 1.236 MB / 1.19 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007288/0.4716, allocations: 2.746 MB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4716, allocations: 4 kB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.4722, allocations: 120.3 kB / 1.193 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.4727, allocations: 140.6 kB / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.4728, allocations: 19.98 kB / 1.193 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/0.478, allocations: 2.49 MB / 1.195 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.478, allocations: 7.938 kB / 1.195 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005991/0.484, allocations: 1.852 MB / 1.197 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/0.4847, allocations: 327.2 kB / 1.197 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.485, allocations: 27.92 kB / 1.197 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.486, allocations: 95.75 kB / 1.197 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4862, allocations: 60.25 kB / 1.198 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.4863, allocations: 35.97 kB / 1.198 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001353/0.4876, allocations: 0.8623 MB / 1.198 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.094e-06/0.4876, allocations: 112 / 1.198 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001934/0.4896, allocations: 0.7096 MB / 1.199 GB, free: 3.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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008743/0.4905, allocations: 457.1 kB / 1.2 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.4932, allocations: 1.172 MB / 1.201 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4932, allocations: 0 / 1.201 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.4948, allocations: 0.6033 MB / 1.201 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/0.499, allocations: 0.7829 MB / 1.202 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.5034, allocations: 2.815 MB / 1.205 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/0.5043, allocations: 1.183 MB / 1.206 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001402/0.5057, allocations: 310.9 kB / 1.206 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.5061, allocations: 111.3 kB / 1.206 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.5061, allocations: 4 kB / 1.206 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of Templates: time 0.05302/0.5591, allocations: 31.94 MB / 1.238 GB, free: 12.74 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches