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.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.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.001016/0.001016, 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.001282/0.001282, 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.356/1.356, 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.718/2.718, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 15.42 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2606, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06317/0.3238, allocations: 69.48 MB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.3419, allocations: 14.17 MB / 1.14 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.3439, allocations: 59.56 kB / 1.14 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.3458, allocations: 0.5705 MB / 1.14 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005504/0.3513, allocations: 1.982 MB / 1.142 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.3545, allocations: 0.974 MB / 1.143 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005525/0.36, allocations: 4.801 MB / 1.148 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.3619, allocations: 1.033 MB / 1.149 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.3644, allocations: 1.275 MB / 1.15 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.3663, allocations: 1.081 MB / 1.151 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.3666, allocations: 59.94 kB / 1.151 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.3692, allocations: 0.9276 MB / 1.152 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.3696, allocations: 266.8 kB / 1.152 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.3702, allocations: 356.9 kB / 1.153 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.3727, allocations: 2.081 MB / 1.155 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3727, allocations: 0 / 1.155 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3727, allocations: 0 / 1.155 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.697e-05/0.3728, allocations: 0 / 1.155 GB, free: 1.977 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.00356/0.3764, allocations: 1.795 MB / 1.157 GB, free: 120 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3764, allocations: 12.03 kB / 1.157 GB, free: 108 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/0.3773, allocations: 237.9 kB / 1.157 GB, free: 15.87 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.3799, allocations: 1.451 MB / 1.158 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.38, allocations: 74 kB / 1.158 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.3802, allocations: 107.9 kB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.3823, allocations: 1.112 MB / 1.159 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3823, allocations: 0 / 1.159 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/0.3824, allocations: 40 kB / 1.16 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.3824, allocations: 24 kB / 1.16 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3844, allocations: 0.9251 MB / 1.16 GB, free: 12.05 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.006028/0.3905, allocations: 4.927 MB / 1.165 GB, free: 6.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3919, allocations: 0.6283 MB / 1.166 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007273/0.3927, allocations: 368 kB / 1.166 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.3933, allocations: 0.8277 MB / 1.167 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3933, allocations: 39.12 kB / 1.167 GB, free: 4.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=61): time 2.124e-06/0.3933, allocations: 0 / 1.167 GB, free: 4.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=61): time 0.006815/0.4001, allocations: 1.896 MB / 1.169 GB, free: 2.859 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.4002, allocations: 55.97 kB / 1.169 GB, free: 2.789 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.4019, allocations: 1.202 MB / 1.17 GB, free: 1.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.402, allocations: 41.7 kB / 1.17 GB, free: 1.523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/0.4025, allocations: 0.6065 MB / 1.171 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.4027, allocations: 216.9 kB / 1.171 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.4028, allocations: 16 kB / 1.171 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4029, allocations: 334 kB / 1.171 GB, free: 356 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.4036, allocations: 293.8 kB / 1.172 GB, free: 60 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009144/0.4045, allocations: 0.5047 MB / 1.172 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/0.4054, allocations: 359 kB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4054, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004704/0.4101, allocations: 1.394 MB / 1.174 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.4102, allocations: 194.3 kB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4103, allocations: 7.984 kB / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.4108, allocations: 152.6 kB / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.4115, allocations: 171.7 kB / 1.174 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.4123, allocations: 0.7123 MB / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4135, allocations: 171.1 kB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.4136, allocations: 28 kB / 1.175 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.4136, allocations: 8 kB / 1.175 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00421/0.4179, allocations: 1.253 MB / 1.176 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4179, allocations: 4 kB / 1.176 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004825/0.4184, allocations: 145.1 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.419, allocations: 167.8 kB / 1.177 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007844/0.4198, allocations: 0.7122 MB / 1.177 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.421, allocations: 163.2 kB / 1.178 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.4211, allocations: 28 kB / 1.178 GB, free: 9.711 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.0006504/0.4218, allocations: 425.8 kB / 1.178 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.4221, allocations: 134.4 kB / 1.178 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/0.4266, allocations: 1.408 MB / 1.179 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.4266, allocations: 8 kB / 1.179 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4266, allocations: 0 / 1.179 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003966/0.4306, allocations: 1.228 MB / 1.181 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006608/0.4372, allocations: 2.735 MB / 1.183 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4372, allocations: 4 kB / 1.183 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.4378, allocations: 120.3 kB / 1.183 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/0.4382, allocations: 140.7 kB / 1.184 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.4383, allocations: 23.98 kB / 1.184 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004618/0.4429, allocations: 2.478 MB / 1.186 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.443, allocations: 7.938 kB / 1.186 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/0.4481, allocations: 1.844 MB / 1.188 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/0.4489, allocations: 327.1 kB / 1.188 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.4491, allocations: 23.98 kB / 1.188 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009796/0.4501, allocations: 95.83 kB / 1.188 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.4503, allocations: 60.25 kB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.4503, allocations: 32.08 kB / 1.188 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001343/0.4517, allocations: 0.8661 MB / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4517, allocations: 0 / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002013/0.4537, allocations: 0.7058 MB / 1.19 GB, free: 12.67 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.0008382/0.4546, allocations: 435.9 kB / 1.19 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002969/0.4575, allocations: 1.164 MB / 1.191 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.4576, allocations: 3.938 kB / 1.191 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.4591, allocations: 0.5994 MB / 1.192 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/0.4627, allocations: 0.7552 MB / 1.193 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.467, allocations: 2.758 MB / 1.195 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007929/0.4678, allocations: 1.179 MB / 1.197 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001305/0.4691, allocations: 310.9 kB / 1.197 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4694, allocations: 107.4 kB / 1.197 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/0.4694, allocations: 0 / 1.197 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of Templates: time 0.04737/0.5168, allocations: 29.43 MB / 1.226 GB, free: 8.195 MB / 0.9825 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