Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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_TCon,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.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,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.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001416/0.001416, allocations: 168.7 kB / 15.95 MB, free: 204 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.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 13.91 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.277, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05151/0.3286, allocations: 56.5 MB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.3434, allocations: 11.22 MB / 1.124 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.3451, allocations: 59.62 kB / 1.124 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.3466, allocations: 468.9 kB / 1.125 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.3506, allocations: 1.527 MB / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.353, allocations: 0.8564 MB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003808/0.3568, allocations: 3.39 MB / 1.13 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.358, allocations: 0.7938 MB / 1.131 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.36, allocations: 1.042 MB / 1.132 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.3612, allocations: 0.801 MB / 1.133 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.3613, allocations: 44 kB / 1.133 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.3635, allocations: 1.088 MB / 1.134 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.3638, allocations: 199 kB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.3641, allocations: 285 kB / 1.134 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.3659, allocations: 1.629 MB / 1.136 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3659, allocations: 0 / 1.136 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/0.366, allocations: 0 / 1.136 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.366, allocations: 0 / 1.136 GB, free: 5.238 MB / 0.8887 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.002457/0.3684, allocations: 1.501 MB / 1.137 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3685, allocations: 12.03 kB / 1.138 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.3705, allocations: 469.9 kB / 1.138 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.3724, allocations: 1.09 MB / 1.139 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/0.3727, allocations: 133.9 kB / 1.139 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.3729, allocations: 80 kB / 1.139 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3748, allocations: 0.9973 MB / 1.14 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3748, allocations: 3.938 kB / 1.14 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.3749, allocations: 36 kB / 1.14 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3749, allocations: 23.98 kB / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.3771, allocations: 0.9095 MB / 1.141 GB, free: 15.84 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.005925/0.3831, allocations: 4.899 MB / 1.146 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.3863, allocations: 0.8863 MB / 1.147 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/0.387, allocations: 324.7 kB / 1.147 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005905/0.3876, allocations: 0.9063 MB / 1.148 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3877, allocations: 42.5 kB / 1.148 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/0.3877, allocations: 0 / 1.148 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.008074/0.3958, allocations: 2.141 MB / 1.15 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.3958, allocations: 59.36 kB / 1.15 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.3974, allocations: 1.047 MB / 1.151 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.3974, allocations: 37.7 kB / 1.151 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.3979, allocations: 0.5312 MB / 1.152 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.398, allocations: 153.8 kB / 1.152 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.398, allocations: 8 kB / 1.152 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3981, allocations: 333.9 kB / 1.152 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008421/0.399, allocations: 320.9 kB / 1.153 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009868/0.4, allocations: 0.5221 MB / 1.153 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/0.4009, allocations: 357.3 kB / 1.153 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.4009, allocations: 4 kB / 1.153 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003467/0.4044, allocations: 1.216 MB / 1.155 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4045, allocations: 220.9 kB / 1.155 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4045, allocations: 4 kB / 1.155 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.4057, allocations: 319.1 kB / 1.155 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.4063, allocations: 135.8 kB / 1.155 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.4077, allocations: 0.9464 MB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.4089, allocations: 187.2 kB / 1.156 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.409, allocations: 27.98 kB / 1.156 GB, free: 15.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.409, allocations: 4 kB / 1.156 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003128/0.4122, allocations: 1.086 MB / 1.157 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4122, allocations: 4 kB / 1.157 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.4132, allocations: 328.9 kB / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.4138, allocations: 123.8 kB / 1.158 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.4151, allocations: 0.9451 MB / 1.159 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.4163, allocations: 163.5 kB / 1.159 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/0.4163, allocations: 31.98 kB / 1.159 GB, free: 12.71 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005022/0.4168, allocations: 353 kB / 1.159 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.417, allocations: 114.6 kB / 1.159 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.4206, allocations: 1.187 MB / 1.161 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4206, allocations: 11.94 kB / 1.161 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4207, allocations: 0 / 1.161 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4207, allocations: 7.922 kB / 1.161 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004825/0.4255, allocations: 2.257 MB / 1.163 GB, free: 8.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4255, allocations: 288 / 1.163 GB, free: 8.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.4258, allocations: 71.89 kB / 1.163 GB, free: 8.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009861/0.4268, allocations: 330.7 kB / 1.163 GB, free: 8.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.4269, allocations: 16 kB / 1.163 GB, free: 8.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.4283, allocations: 0.9676 MB / 1.164 GB, free: 7.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4283, allocations: 4.031 kB / 1.164 GB, free: 7.273 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/0.4316, allocations: 1.253 MB / 1.165 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.4321, allocations: 279.5 kB / 1.166 GB, free: 5.676 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.4322, allocations: 15.98 kB / 1.166 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.4331, allocations: 115.7 kB / 1.166 GB, free: 5.547 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.4332, allocations: 43.84 kB / 1.166 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.4332, allocations: 19.98 kB / 1.166 GB, free: 5.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001112/0.4344, allocations: 0.735 MB / 1.167 GB, free: 4.742 MB / 0.92 GB Notification: Performance of sort global known variables: time 3e-07/0.4344, allocations: 0 / 1.167 GB, free: 4.742 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001453/0.4358, allocations: 0.5536 MB / 1.167 GB, free: 4.188 MB / 0.92 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006553/0.4365, allocations: 363.7 kB / 1.167 GB, free: 3.832 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002968/0.4395, allocations: 1.165 MB / 1.169 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4395, allocations: 0 / 1.169 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.4403, allocations: 366.5 kB / 1.169 GB, free: 2.312 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.4426, allocations: 0.4966 MB / 1.169 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.4476, allocations: 2.485 MB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.4482, allocations: 1.061 MB / 1.173 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000901/0.4491, allocations: 220.6 kB / 1.173 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4493, allocations: 79.41 kB / 1.173 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of SimCode: time 8.21e-07/0.4493, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.0371/0.4864, allocations: 22.98 MB / 1.196 GB, free: 7.18 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches