Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001036/0.001036, allocations: 91.3 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.001307/0.001307, 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.35/1.35, allocations: 223.3 MB / 240 MB, free: 5.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5742, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0656/0.6398, allocations: 69.48 MB / 1.09 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.6577, allocations: 14.21 MB / 1.104 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.6592, allocations: 63.56 kB / 1.104 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.6608, allocations: 0.5627 MB / 1.105 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004678/0.6654, allocations: 1.995 MB / 1.107 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.668, allocations: 0.9604 MB / 1.108 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005327/0.6733, allocations: 4.805 MB / 1.112 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.6749, allocations: 1.021 MB / 1.113 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.6773, allocations: 1.283 MB / 1.115 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.6788, allocations: 1.077 MB / 1.116 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.6789, allocations: 56 kB / 1.116 GB, free: 296 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.6811, allocations: 0.9198 MB / 1.117 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.6814, allocations: 274.8 kB / 1.117 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.6818, allocations: 356.9 kB / 1.117 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.684, allocations: 2.077 MB / 1.119 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.684, allocations: 4 kB / 1.119 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.794e-06/0.684, allocations: 0 / 1.119 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.684, allocations: 0 / 1.119 GB, free: 12.66 MB / 0.8731 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.003096/0.6871, allocations: 1.791 MB / 1.121 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.6872, allocations: 8.031 kB / 1.121 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.6879, allocations: 249.8 kB / 1.121 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.6902, allocations: 1.439 MB / 1.123 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.6903, allocations: 78 kB / 1.123 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.6905, allocations: 111.8 kB / 1.123 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.6925, allocations: 1.112 MB / 1.124 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.6925, allocations: 0 / 1.124 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.6926, allocations: 40 kB / 1.124 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.6927, allocations: 31.98 kB / 1.124 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.6946, allocations: 0.9212 MB / 1.125 GB, free: 6.73 MB / 0.8731 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.005696/0.7003, allocations: 4.908 MB / 1.13 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.7018, allocations: 0.6341 MB / 1.13 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/0.7025, allocations: 372.2 kB / 1.131 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.7032, allocations: 0.8277 MB / 1.131 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.7032, allocations: 43.12 kB / 1.131 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.244e-06/0.7032, allocations: 0 / 1.131 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.00691/0.7101, allocations: 1.888 MB / 1.133 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.7102, allocations: 59.97 kB / 1.133 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.7117, allocations: 1.202 MB / 1.135 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.7118, allocations: 37.7 kB / 1.135 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005249/0.7124, allocations: 0.6104 MB / 1.135 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.7125, allocations: 209 kB / 1.135 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.7126, allocations: 16 kB / 1.135 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7127, allocations: 337.9 kB / 1.136 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.7134, allocations: 297.8 kB / 1.136 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000802/0.7142, allocations: 0.5007 MB / 1.136 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.7149, allocations: 359 kB / 1.137 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7149, allocations: 4 kB / 1.137 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004391/0.7193, allocations: 1.394 MB / 1.138 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.7195, allocations: 200.6 kB / 1.138 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7195, allocations: 0 / 1.138 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.7201, allocations: 156.6 kB / 1.139 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.7207, allocations: 163.8 kB / 1.139 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008342/0.7216, allocations: 0.7123 MB / 1.139 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.7227, allocations: 175 kB / 1.14 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.7228, allocations: 31.98 kB / 1.14 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.7228, allocations: 4 kB / 1.14 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004218/0.7271, allocations: 1.249 MB / 1.141 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.7271, allocations: 4 kB / 1.141 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.7276, allocations: 153 kB / 1.141 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.7282, allocations: 159.8 kB / 1.141 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008082/0.729, allocations: 0.7203 MB / 1.142 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.7301, allocations: 160.7 kB / 1.142 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.7302, allocations: 31.98 kB / 1.142 GB, free: 4.402 MB / 0.8887 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.0006444/0.7308, allocations: 420.9 kB / 1.142 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.731, allocations: 134.4 kB / 1.142 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.7355, allocations: 1.408 MB / 1.144 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7355, allocations: 8 kB / 1.144 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7356, allocations: 7.938 kB / 1.144 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003988/0.7396, allocations: 1.228 MB / 1.145 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0063/0.7459, allocations: 2.735 MB / 1.148 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.7459, allocations: 4 kB / 1.148 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.7464, allocations: 124.3 kB / 1.148 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.7468, allocations: 132.8 kB / 1.148 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.7469, allocations: 19.98 kB / 1.148 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.7515, allocations: 2.482 MB / 1.15 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7515, allocations: 7.938 kB / 1.15 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00514/0.7567, allocations: 1.836 MB / 1.152 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.7572, allocations: 343 kB / 1.153 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.7573, allocations: 16 kB / 1.153 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008446/0.7582, allocations: 99.97 kB / 1.153 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.7583, allocations: 52.31 kB / 1.153 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.7584, allocations: 43.92 kB / 1.153 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001154/0.7596, allocations: 0.8545 MB / 1.154 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7596, allocations: 0 / 1.154 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001762/0.7613, allocations: 0.7096 MB / 1.154 GB, free: 7.348 MB / 0.9044 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.0007375/0.7621, allocations: 426.9 kB / 1.155 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.7646, allocations: 1.157 MB / 1.156 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7646, allocations: 0 / 1.156 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.766, allocations: 0.6071 MB / 1.156 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.7693, allocations: 0.7595 MB / 1.157 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.7731, allocations: 2.766 MB / 1.16 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.7739, allocations: 1.183 MB / 1.161 GB, free: 368 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001114/0.775, allocations: 303 kB / 1.161 GB, free: 60 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.7752, allocations: 103.5 kB / 1.161 GB, free: 15.95 MB / 0.92 GB Notification: Performance of SimCode: time 5.01e-07/0.7753, allocations: 0 / 1.161 GB, free: 15.95 MB / 0.92 GB Notification: Performance of Templates: time 0.04642/0.8217, allocations: 29.41 MB / 1.19 GB, free: 2.902 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches