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.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.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.0009672/0.000967, allocations: 97.64 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.007538/0.007538, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.373/1.373, 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.78/2.78, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.00034, allocations: 8.844 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3208, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07209/0.393, allocations: 73.48 MB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.413, allocations: 15.04 MB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.4158, allocations: 59.62 kB / 1.145 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.4182, allocations: 0.6681 MB / 1.146 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007449/0.4257, allocations: 2.384 MB / 1.148 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.4299, allocations: 1.279 MB / 1.149 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007744/0.4376, allocations: 5.562 MB / 1.155 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.4399, allocations: 1.155 MB / 1.156 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.4434, allocations: 1.33 MB / 1.157 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.4457, allocations: 1.139 MB / 1.158 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.446, allocations: 52 kB / 1.158 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.4491, allocations: 1.243 MB / 1.16 GB, free: 13.78 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003685/0.4495, allocations: 290.6 kB / 1.16 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.4509, allocations: 0.8022 MB / 1.161 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004197/0.4551, allocations: 2.718 MB / 1.163 GB, free: 9.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4551, allocations: 0 / 1.163 GB, free: 9.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4551, allocations: 0 / 1.163 GB, free: 9.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.4551, allocations: 0 / 1.163 GB, free: 9.957 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.003504/0.4586, allocations: 1.78 MB / 1.165 GB, free: 8.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4587, allocations: 8.031 kB / 1.165 GB, free: 8.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/0.4595, allocations: 250.8 kB / 1.165 GB, free: 7.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.4619, allocations: 1.486 MB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.4619, allocations: 74 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.4621, allocations: 107.9 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.4642, allocations: 1.12 MB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.4642, allocations: 3.938 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.4643, allocations: 40 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.4644, allocations: 31.98 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.4663, allocations: 0.9329 MB / 1.169 GB, free: 3.98 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.005868/0.4722, allocations: 4.916 MB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4737, allocations: 0.6509 MB / 1.174 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.4745, allocations: 366.8 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/0.4751, allocations: 0.8316 MB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.4752, allocations: 43.11 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/0.4752, allocations: 0 / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007666/0.4828, allocations: 1.892 MB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4829, allocations: 59.97 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.4846, allocations: 1.214 MB / 1.179 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.4847, allocations: 45.69 kB / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.4852, allocations: 0.6065 MB / 1.179 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.4854, allocations: 208.9 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.4855, allocations: 69.67 kB / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4856, allocations: 334 kB / 1.18 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000701/0.4863, allocations: 301.8 kB / 1.18 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000886/0.4872, allocations: 0.5139 MB / 1.181 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.4888, allocations: 0.748 MB / 1.181 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4888, allocations: 4 kB / 1.181 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005183/0.494, allocations: 1.402 MB / 1.183 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.4942, allocations: 206.3 kB / 1.183 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4942, allocations: 4 kB / 1.183 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.4948, allocations: 148.7 kB / 1.183 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.4955, allocations: 163.7 kB / 1.183 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008789/0.4964, allocations: 0.7278 MB / 1.184 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4977, allocations: 159.1 kB / 1.184 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.4978, allocations: 35.98 kB / 1.184 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.4978, allocations: 9.5 kB / 1.184 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004627/0.5024, allocations: 1.249 MB / 1.185 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5025, allocations: 7.938 kB / 1.185 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.503, allocations: 145.1 kB / 1.186 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.5036, allocations: 163.8 kB / 1.186 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008558/0.5045, allocations: 0.7239 MB / 1.186 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.5058, allocations: 151.2 kB / 1.187 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/0.5059, allocations: 39.98 kB / 1.187 GB, free: 1.074 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.000795/0.5067, allocations: 413 kB / 1.187 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.507, allocations: 134.3 kB / 1.187 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.512, allocations: 1.408 MB / 1.189 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.512, allocations: 8 kB / 1.189 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.512, allocations: 0 / 1.189 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004455/0.5165, allocations: 1.24 MB / 1.19 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007134/0.5236, allocations: 2.738 MB / 1.192 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.5237, allocations: 4 kB / 1.192 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.5242, allocations: 124.2 kB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.5247, allocations: 136.7 kB / 1.193 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.5248, allocations: 23.98 kB / 1.193 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.5298, allocations: 2.498 MB / 1.195 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.5298, allocations: 7.938 kB / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/0.5357, allocations: 1.848 MB / 1.197 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/0.5366, allocations: 343.2 kB / 1.197 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.5367, allocations: 15.94 kB / 1.197 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/0.5376, allocations: 91.84 kB / 1.197 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.5378, allocations: 60.25 kB / 1.197 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.5378, allocations: 31.97 kB / 1.198 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001252/0.5391, allocations: 0.8702 MB / 1.198 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5391, allocations: 3.938 kB / 1.198 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001925/0.541, allocations: 0.7095 MB / 1.199 GB, free: 3.969 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.0009146/0.542, allocations: 443.3 kB / 1.199 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.5447, allocations: 1.172 MB / 1.201 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5447, allocations: 0 / 1.201 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.5463, allocations: 0.6033 MB / 1.201 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004366/0.5507, allocations: 0.7896 MB / 1.202 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.5548, allocations: 2.807 MB / 1.205 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.5555, allocations: 1.179 MB / 1.206 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001277/0.5568, allocations: 307 kB / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.5571, allocations: 115.4 kB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/0.5571, allocations: 0 / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of Templates: time 0.053/0.6101, allocations: 31.9 MB / 1.237 GB, free: 12.9 MB / 0.9981 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