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.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.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.001108/0.001108, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001349/0.001349, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 10.25 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2553, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06284/0.3182, allocations: 69.45 MB / 1.126 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.3356, allocations: 14.18 MB / 1.14 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.3374, allocations: 63.56 kB / 1.14 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.3391, allocations: 0.5666 MB / 1.14 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.3442, allocations: 1.986 MB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.3468, allocations: 0.9541 MB / 1.143 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005312/0.3522, allocations: 4.809 MB / 1.148 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.3537, allocations: 1.025 MB / 1.149 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.3559, allocations: 1.279 MB / 1.15 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.3573, allocations: 1.081 MB / 1.151 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.3575, allocations: 52 kB / 1.151 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.3597, allocations: 0.9276 MB / 1.152 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.36, allocations: 266.8 kB / 1.152 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.3604, allocations: 360.9 kB / 1.153 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.3627, allocations: 2.081 MB / 1.155 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3627, allocations: 0 / 1.155 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3627, allocations: 0 / 1.155 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.259e-05/0.3627, allocations: 0 / 1.155 GB, free: 1.961 MB / 0.9044 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.0032/0.3659, allocations: 1.799 MB / 1.157 GB, free: 100 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.366, allocations: 8.031 kB / 1.157 GB, free: 92 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.3667, allocations: 241.9 kB / 1.157 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.369, allocations: 1.447 MB / 1.158 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.3691, allocations: 74 kB / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3692, allocations: 107.8 kB / 1.158 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.3712, allocations: 1.116 MB / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.3713, allocations: 0 / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.3714, allocations: 44 kB / 1.159 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.3714, allocations: 24 kB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.3733, allocations: 0.9212 MB / 1.16 GB, free: 12.03 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.005464/0.3788, allocations: 4.927 MB / 1.165 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.3801, allocations: 0.6322 MB / 1.166 GB, free: 6.176 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.3809, allocations: 370.3 kB / 1.166 GB, free: 5.812 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005623/0.3814, allocations: 0.8277 MB / 1.167 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3815, allocations: 43.12 kB / 1.167 GB, free: 4.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=61): time 3.637e-06/0.3815, allocations: 0 / 1.167 GB, free: 4.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=61): time 0.00667/0.3882, allocations: 1.888 MB / 1.169 GB, free: 2.836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.3882, allocations: 59.97 kB / 1.169 GB, free: 2.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.3898, allocations: 1.202 MB / 1.17 GB, free: 1.543 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.091e-05/0.3898, allocations: 37.7 kB / 1.17 GB, free: 1.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.3903, allocations: 0.6104 MB / 1.171 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.3905, allocations: 212.9 kB / 1.171 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3906, allocations: 16 kB / 1.171 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3907, allocations: 338 kB / 1.171 GB, free: 328 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.3913, allocations: 293.8 kB / 1.172 GB, free: 32 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007957/0.3921, allocations: 0.5007 MB / 1.172 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.3929, allocations: 359 kB / 1.172 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3929, allocations: 8 kB / 1.172 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00438/0.3973, allocations: 1.394 MB / 1.174 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.3974, allocations: 195.9 kB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3974, allocations: 4 kB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/0.398, allocations: 152.6 kB / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.3986, allocations: 171.7 kB / 1.174 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008182/0.3994, allocations: 0.7085 MB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.4006, allocations: 168.9 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.4007, allocations: 32 kB / 1.175 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.4007, allocations: 4 kB / 1.175 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004161/0.4048, allocations: 1.253 MB / 1.176 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4049, allocations: 4 kB / 1.176 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.4054, allocations: 145.1 kB / 1.177 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.406, allocations: 163.8 kB / 1.177 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008424/0.4069, allocations: 0.7162 MB / 1.177 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.408, allocations: 167.1 kB / 1.178 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.4081, allocations: 28 kB / 1.178 GB, free: 9.691 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006867/0.4088, allocations: 421.5 kB / 1.178 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.409, allocations: 134.4 kB / 1.178 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/0.4135, allocations: 1.408 MB / 1.179 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.4135, allocations: 12 kB / 1.179 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4135, allocations: 0 / 1.179 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003897/0.4174, allocations: 1.228 MB / 1.181 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.4238, allocations: 2.735 MB / 1.183 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4238, allocations: 0 / 1.183 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.4243, allocations: 124.3 kB / 1.183 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.4248, allocations: 144.6 kB / 1.184 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.4249, allocations: 16 kB / 1.184 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/0.4294, allocations: 2.482 MB / 1.186 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4294, allocations: 7.938 kB / 1.186 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.4345, allocations: 1.84 MB / 1.188 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/0.4351, allocations: 335.1 kB / 1.188 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4353, allocations: 19.98 kB / 1.188 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008351/0.4361, allocations: 91.83 kB / 1.188 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.4363, allocations: 68.25 kB / 1.188 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.4363, allocations: 27.98 kB / 1.188 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001252/0.4376, allocations: 0.8584 MB / 1.189 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4376, allocations: 0 / 1.189 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001843/0.4395, allocations: 0.7097 MB / 1.19 GB, free: 12.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007913/0.4403, allocations: 431.2 kB / 1.19 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002626/0.4429, allocations: 1.161 MB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4429, allocations: 7.938 kB / 1.191 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.4443, allocations: 0.5916 MB / 1.192 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.4479, allocations: 0.7602 MB / 1.193 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.452, allocations: 2.77 MB / 1.195 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/0.4529, allocations: 1.179 MB / 1.197 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001297/0.4542, allocations: 303 kB / 1.197 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.4545, allocations: 103.4 kB / 1.197 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of SimCode: time 8.72e-07/0.4545, allocations: 0 / 1.197 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of Templates: time 0.04612/0.5006, allocations: 29.39 MB / 1.226 GB, free: 8.215 MB / 0.9825 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