Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_TCon_LimitedCapacity,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.TSet|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_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,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.TSet|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_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000986/0.0009859, allocations: 96.62 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.008155/0.008155, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005948/0.0005949, allocations: 12.81 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3544, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06397/0.4184, allocations: 59.79 MB / 1.117 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.4356, allocations: 11.93 MB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.4384, allocations: 51.62 kB / 1.129 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.4405, allocations: 0.5438 MB / 1.129 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005958/0.4465, allocations: 1.803 MB / 1.131 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.4498, allocations: 1.082 MB / 1.132 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004947/0.4547, allocations: 3.886 MB / 1.136 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.4562, allocations: 0.9061 MB / 1.137 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.4584, allocations: 1.12 MB / 1.138 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.4595, allocations: 0.8632 MB / 1.139 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.4597, allocations: 40 kB / 1.139 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.4623, allocations: 1.349 MB / 1.14 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.4625, allocations: 210.9 kB / 1.14 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.4632, allocations: 0.6311 MB / 1.141 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.4659, allocations: 2.2 MB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.466, allocations: 4 kB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.452e-06/0.466, allocations: 4 kB / 1.143 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.466, allocations: 0 / 1.143 GB, free: 14.78 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002605/0.4686, allocations: 1.497 MB / 1.144 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4687, allocations: 8.031 kB / 1.145 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.4703, allocations: 383 kB / 1.145 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.4723, allocations: 1.123 MB / 1.146 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/0.4727, allocations: 129.9 kB / 1.146 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4728, allocations: 83.94 kB / 1.146 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.4747, allocations: 0.9661 MB / 1.147 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.4747, allocations: 3.938 kB / 1.147 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.4748, allocations: 32 kB / 1.147 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.4748, allocations: 24 kB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.4768, allocations: 0.847 MB / 1.148 GB, free: 9.543 MB / 0.9044 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.005857/0.4827, allocations: 4.804 MB / 1.153 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.4843, allocations: 0.5985 MB / 1.153 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.4849, allocations: 284.6 kB / 1.154 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.4863, allocations: 1.392 MB / 1.155 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4863, allocations: 46.5 kB / 1.155 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.4863, allocations: 0 / 1.155 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.008776/0.4951, allocations: 2.051 MB / 1.157 GB, free: 15.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.4952, allocations: 59.34 kB / 1.157 GB, free: 15.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.4969, allocations: 1.051 MB / 1.158 GB, free: 14.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.497, allocations: 37.7 kB / 1.158 GB, free: 14.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.4974, allocations: 0.5273 MB / 1.159 GB, free: 13.95 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4976, allocations: 145.8 kB / 1.159 GB, free: 13.81 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.4977, allocations: 49.69 kB / 1.159 GB, free: 13.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4978, allocations: 326 kB / 1.159 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.4986, allocations: 285 kB / 1.159 GB, free: 13.15 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/0.4995, allocations: 0.4942 MB / 1.16 GB, free: 12.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.501, allocations: 0.6663 MB / 1.16 GB, free: 11.85 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.501, allocations: 0 / 1.16 GB, free: 11.85 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002552/0.5036, allocations: 0.9804 MB / 1.161 GB, free: 10.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.5037, allocations: 214.4 kB / 1.162 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5038, allocations: 4 kB / 1.162 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.5051, allocations: 332.6 kB / 1.162 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.5056, allocations: 115.9 kB / 1.162 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.5071, allocations: 0.9425 MB / 1.163 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5085, allocations: 175.3 kB / 1.163 GB, free: 9.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.5085, allocations: 31.98 kB / 1.163 GB, free: 8.977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5086, allocations: 4 kB / 1.163 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/0.5107, allocations: 0.8357 MB / 1.164 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5108, allocations: 4 kB / 1.164 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.5119, allocations: 335.5 kB / 1.164 GB, free: 7.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.5123, allocations: 115.8 kB / 1.164 GB, free: 7.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.5139, allocations: 0.9386 MB / 1.165 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.515, allocations: 157.1 kB / 1.166 GB, free: 6.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.5151, allocations: 27.98 kB / 1.166 GB, free: 6.543 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005351/0.5157, allocations: 359 kB / 1.166 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.5158, allocations: 110.7 kB / 1.166 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.5195, allocations: 1.151 MB / 1.167 GB, free: 4.914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.5196, allocations: 8 kB / 1.167 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5196, allocations: 0 / 1.167 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5196, allocations: 3.984 kB / 1.167 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.5244, allocations: 2.15 MB / 1.169 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5245, allocations: 4.281 kB / 1.169 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.5247, allocations: 63.84 kB / 1.169 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.5257, allocations: 328.5 kB / 1.17 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.5258, allocations: 23.92 kB / 1.17 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.5273, allocations: 0.9828 MB / 1.171 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.5273, allocations: 4 kB / 1.171 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.5307, allocations: 1.187 MB / 1.172 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/0.5312, allocations: 275.5 kB / 1.172 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.5314, allocations: 19.98 kB / 1.172 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008301/0.5322, allocations: 107.8 kB / 1.172 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.5323, allocations: 39.83 kB / 1.172 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.5324, allocations: 23.98 kB / 1.172 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001143/0.5335, allocations: 0.7428 MB / 1.173 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5335, allocations: 0 / 1.173 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001532/0.5351, allocations: 0.5575 MB / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008194/0.5359, allocations: 409.9 kB / 1.174 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.5387, allocations: 1.047 MB / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5388, allocations: 4 kB / 1.175 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.5396, allocations: 341.4 kB / 1.175 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/0.5426, allocations: 0.5006 MB / 1.176 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.5463, allocations: 2.253 MB / 1.178 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.5469, allocations: 1.062 MB / 1.179 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009011/0.5479, allocations: 214.3 kB / 1.179 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.548, allocations: 75.42 kB / 1.179 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of SimCode: time 1.232e-06/0.548, allocations: 4 kB / 1.179 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of Templates: time 0.04127/0.5893, allocations: 24.1 MB / 1.203 GB, free: 440 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches