Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.000918/0.0009182, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.864/2.864, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003536, allocations: 10.19 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3465, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07137/0.4179, allocations: 73.51 MB / 1.131 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.4403, allocations: 15.03 MB / 1.146 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.4436, allocations: 55.62 kB / 1.146 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.4465, allocations: 0.6721 MB / 1.146 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008711/0.4552, allocations: 2.39 MB / 1.149 GB, free: 9 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.4593, allocations: 1.283 MB / 1.15 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008226/0.4676, allocations: 5.557 MB / 1.156 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.4704, allocations: 1.155 MB / 1.157 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.4744, allocations: 1.326 MB / 1.158 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.4771, allocations: 1.151 MB / 1.159 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000504/0.4776, allocations: 56 kB / 1.159 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.4812, allocations: 1.236 MB / 1.16 GB, free: 13.19 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.4819, allocations: 290.6 kB / 1.161 GB, free: 12.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.4837, allocations: 0.8061 MB / 1.161 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.4871, allocations: 2.147 MB / 1.163 GB, free: 9.938 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4871, allocations: 0 / 1.163 GB, free: 9.938 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4871, allocations: 0 / 1.163 GB, free: 9.938 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.848e-05/0.4872, allocations: 4 kB / 1.163 GB, free: 9.934 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.004519/0.4917, allocations: 1.779 MB / 1.165 GB, free: 8.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4918, allocations: 11.97 kB / 1.165 GB, free: 8.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009303/0.4927, allocations: 246.8 kB / 1.165 GB, free: 7.836 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.4954, allocations: 1.497 MB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.4955, allocations: 74 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.4957, allocations: 104 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.4979, allocations: 1.12 MB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.498, allocations: 0 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.4981, allocations: 44 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.4981, allocations: 24 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.5001, allocations: 0.929 MB / 1.169 GB, free: 3.957 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.006824/0.507, allocations: 4.915 MB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.5085, allocations: 0.6439 MB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007684/0.5093, allocations: 371.5 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/0.51, allocations: 0.8316 MB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.5101, allocations: 39.12 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.427e-06/0.5101, allocations: 0 / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007876/0.518, allocations: 1.896 MB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.518, allocations: 55.97 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.5199, allocations: 1.218 MB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.5201, allocations: 37.7 kB / 1.179 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005569/0.5206, allocations: 0.6104 MB / 1.18 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.5209, allocations: 220.9 kB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.521, allocations: 57.69 kB / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5211, allocations: 338 kB / 1.18 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.5218, allocations: 301.8 kB / 1.18 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008638/0.5227, allocations: 0.5046 MB / 1.181 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.5242, allocations: 0.7558 MB / 1.182 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.5242, allocations: 4 kB / 1.182 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005263/0.5295, allocations: 1.406 MB / 1.183 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.5297, allocations: 203.7 kB / 1.183 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5297, allocations: 4 kB / 1.183 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.5303, allocations: 140.7 kB / 1.183 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.531, allocations: 167.8 kB / 1.183 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009042/0.5319, allocations: 0.7239 MB / 1.184 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.5333, allocations: 167.1 kB / 1.184 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.5334, allocations: 35.98 kB / 1.184 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.5334, allocations: 4 kB / 1.184 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004734/0.5382, allocations: 1.253 MB / 1.186 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5382, allocations: 4 kB / 1.186 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.5388, allocations: 148.9 kB / 1.186 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.5394, allocations: 163.8 kB / 1.186 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008318/0.5402, allocations: 0.7162 MB / 1.187 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5416, allocations: 157.1 kB / 1.187 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.5416, allocations: 35.98 kB / 1.187 GB, free: 1.062 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.0007684/0.5424, allocations: 420.9 kB / 1.187 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.5427, allocations: 134.3 kB / 1.187 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/0.5477, allocations: 1.4 MB / 1.189 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.5477, allocations: 15.94 kB / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.5477, allocations: 0 / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004517/0.5522, allocations: 1.24 MB / 1.19 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/0.5596, allocations: 2.754 MB / 1.193 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5596, allocations: 4 kB / 1.193 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.5601, allocations: 119.8 kB / 1.193 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/0.5606, allocations: 136.9 kB / 1.193 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.5607, allocations: 19.98 kB / 1.193 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.5657, allocations: 2.489 MB / 1.195 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5658, allocations: 4 kB / 1.195 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/0.5716, allocations: 1.848 MB / 1.197 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000833/0.5725, allocations: 335.2 kB / 1.197 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.5727, allocations: 19.88 kB / 1.197 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/0.5736, allocations: 95.81 kB / 1.198 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5737, allocations: 64.23 kB / 1.198 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.5738, allocations: 35.98 kB / 1.198 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001277/0.5751, allocations: 0.8662 MB / 1.198 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5751, allocations: 0 / 1.198 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001914/0.577, allocations: 0.7057 MB / 1.199 GB, free: 3.961 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.0009295/0.578, allocations: 465.3 kB / 1.2 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002722/0.5807, allocations: 1.168 MB / 1.201 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5807, allocations: 0 / 1.201 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.5823, allocations: 0.5995 MB / 1.201 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004402/0.5867, allocations: 0.7902 MB / 1.202 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.591, allocations: 2.848 MB / 1.205 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.5917, allocations: 1.165 MB / 1.206 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.5921, allocations: 115.4 kB / 1.206 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/0.5921, allocations: 0 / 1.206 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of Templates: time 0.04175/0.6338, allocations: 30.77 MB / 1.236 GB, free: 14.12 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches