Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001058/0.001059, allocations: 97.33 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.008305/0.008305, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 0.8728 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6342, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06969/0.7039, allocations: 73.47 MB / 1.095 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.724, allocations: 15.04 MB / 1.109 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.7265, allocations: 59.62 kB / 1.11 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.7288, allocations: 0.6799 MB / 1.11 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007183/0.736, allocations: 2.376 MB / 1.112 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.7395, allocations: 1.274 MB / 1.114 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007159/0.7466, allocations: 5.576 MB / 1.119 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.7488, allocations: 1.153 MB / 1.12 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.7518, allocations: 1.322 MB / 1.122 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.7536, allocations: 1.151 MB / 1.123 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.7537, allocations: 56 kB / 1.123 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.7568, allocations: 1.232 MB / 1.124 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.7572, allocations: 286.6 kB / 1.124 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7582, allocations: 0.8022 MB / 1.125 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.7622, allocations: 2.722 MB / 1.128 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.7622, allocations: 0 / 1.128 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7622, allocations: 0 / 1.128 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.257e-05/0.7622, allocations: 0 / 1.128 GB, free: 4.328 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.003673/0.7659, allocations: 1.78 MB / 1.129 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.766, allocations: 8.031 kB / 1.129 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.7668, allocations: 246.8 kB / 1.13 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.7692, allocations: 1.493 MB / 1.131 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.7693, allocations: 74 kB / 1.131 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.7694, allocations: 108 kB / 1.131 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.7716, allocations: 1.112 MB / 1.132 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.7716, allocations: 3.906 kB / 1.132 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/0.7717, allocations: 47.98 kB / 1.132 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.7718, allocations: 24 kB / 1.132 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.7738, allocations: 0.929 MB / 1.133 GB, free: 14.36 MB / 0.8887 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.006629/0.7805, allocations: 4.911 MB / 1.138 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.7821, allocations: 0.647 MB / 1.139 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.7829, allocations: 374.3 kB / 1.139 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.7836, allocations: 0.8238 MB / 1.14 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.7837, allocations: 47.11 kB / 1.14 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.7837, allocations: 0 / 1.14 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.008012/0.7917, allocations: 1.892 MB / 1.142 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.7918, allocations: 63.89 kB / 1.142 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.7937, allocations: 1.21 MB / 1.143 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.7939, allocations: 41.7 kB / 1.143 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.7945, allocations: 0.6104 MB / 1.144 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.7947, allocations: 209 kB / 1.144 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/0.7948, allocations: 65.67 kB / 1.144 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.795, allocations: 341.9 kB / 1.144 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007811/0.7958, allocations: 297.8 kB / 1.145 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/0.7966, allocations: 0.51 MB / 1.145 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7982, allocations: 0.7558 MB / 1.146 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7982, allocations: 0 / 1.146 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005431/0.8037, allocations: 1.406 MB / 1.147 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.8038, allocations: 198.1 kB / 1.147 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.8039, allocations: 4 kB / 1.147 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.8045, allocations: 148.7 kB / 1.148 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.8052, allocations: 163.8 kB / 1.148 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000936/0.8061, allocations: 0.7162 MB / 1.148 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.8074, allocations: 167 kB / 1.149 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.8074, allocations: 35.98 kB / 1.149 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.8075, allocations: 4 kB / 1.149 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004788/0.8123, allocations: 1.261 MB / 1.15 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.8123, allocations: 4 kB / 1.15 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.8128, allocations: 140.8 kB / 1.15 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.8135, allocations: 167.7 kB / 1.15 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009/0.8144, allocations: 0.7201 MB / 1.151 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.8157, allocations: 155.2 kB / 1.151 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.8157, allocations: 31.98 kB / 1.151 GB, free: 11.46 MB / 0.9044 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.0006968/0.8164, allocations: 420.9 kB / 1.151 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.8167, allocations: 138.3 kB / 1.152 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004922/0.8216, allocations: 1.397 MB / 1.153 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.8216, allocations: 8 kB / 1.153 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8216, allocations: 4 kB / 1.153 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004625/0.8263, allocations: 1.24 MB / 1.154 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007249/0.8335, allocations: 2.747 MB / 1.157 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.8336, allocations: 4 kB / 1.157 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000534/0.8341, allocations: 119.8 kB / 1.157 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.8346, allocations: 132.8 kB / 1.157 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.8347, allocations: 31.92 kB / 1.157 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005116/0.8398, allocations: 2.482 MB / 1.16 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8399, allocations: 4 kB / 1.16 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00586/0.8457, allocations: 1.859 MB / 1.161 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006975/0.8464, allocations: 339 kB / 1.162 GB, free: 144 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.8466, allocations: 20.03 kB / 1.162 GB, free: 124 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.8475, allocations: 95.84 kB / 1.162 GB, free: 28 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.8477, allocations: 56.31 kB / 1.162 GB, free: 15.97 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.8478, allocations: 35.97 kB / 1.162 GB, free: 15.94 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001266/0.849, allocations: 0.8623 MB / 1.163 GB, free: 15.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.849, allocations: 3.938 kB / 1.163 GB, free: 15.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001837/0.8509, allocations: 0.7057 MB / 1.163 GB, free: 14.36 MB / 0.92 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.0008378/0.8517, allocations: 439.5 kB / 1.164 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.8545, allocations: 1.164 MB / 1.165 GB, free: 12.77 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8545, allocations: 4 kB / 1.165 GB, free: 12.76 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.8561, allocations: 0.6033 MB / 1.166 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005564/0.8616, allocations: 0.7965 MB / 1.166 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/0.8681, allocations: 2.82 MB / 1.169 GB, free: 8.473 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.8693, allocations: 1.183 MB / 1.17 GB, free: 7.262 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00229/0.8716, allocations: 307 kB / 1.171 GB, free: 6.957 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.8721, allocations: 111.4 kB / 1.171 GB, free: 6.848 MB / 0.92 GB Notification: Performance of SimCode: time 1.433e-06/0.8721, allocations: 0 / 1.171 GB, free: 6.848 MB / 0.92 GB Notification: Performance of Templates: time 0.07324/0.9453, allocations: 31.91 MB / 1.202 GB, free: 7.309 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches