Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, 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.001713/0.001713, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.812/2.812, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 8.812 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.348, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05775/0.4058, allocations: 59.79 MB / 1.118 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.4225, allocations: 11.93 MB / 1.129 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.425, allocations: 51.62 kB / 1.129 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.427, allocations: 0.536 MB / 1.13 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006223/0.4333, allocations: 1.808 MB / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.4365, allocations: 1.09 MB / 1.133 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005566/0.4421, allocations: 3.886 MB / 1.137 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.4443, allocations: 0.9056 MB / 1.137 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.4482, allocations: 1.124 MB / 1.139 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.45, allocations: 0.8476 MB / 1.139 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.4502, allocations: 40 kB / 1.139 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.4533, allocations: 1.345 MB / 1.141 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.4536, allocations: 218.8 kB / 1.141 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008636/0.4545, allocations: 0.635 MB / 1.142 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.457, allocations: 1.695 MB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.457, allocations: 0 / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4571, allocations: 4 kB / 1.143 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.4571, 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.002959/0.46, allocations: 1.481 MB / 1.145 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.4601, allocations: 15.97 kB / 1.145 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.4624, allocations: 474.8 kB / 1.145 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.4647, allocations: 1.139 MB / 1.146 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.4651, allocations: 129.9 kB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.4653, allocations: 80 kB / 1.146 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.4674, allocations: 1.005 MB / 1.147 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.4675, allocations: 8 kB / 1.147 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.4676, allocations: 35.98 kB / 1.147 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.4676, allocations: 16 kB / 1.147 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.47, allocations: 0.9172 MB / 1.148 GB, free: 9.336 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.006759/0.4768, allocations: 4.91 MB / 1.153 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/0.4804, allocations: 0.8985 MB / 1.154 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/0.4812, allocations: 330.6 kB / 1.154 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/0.4819, allocations: 0.9064 MB / 1.155 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.482, allocations: 34.56 kB / 1.155 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.996e-06/0.482, allocations: 0 / 1.155 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.00911/0.4911, allocations: 2.176 MB / 1.157 GB, free: 15.47 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.4912, allocations: 63.3 kB / 1.157 GB, free: 15.4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.4929, allocations: 1.055 MB / 1.158 GB, free: 14.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.493, allocations: 37.7 kB / 1.159 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.4935, allocations: 0.5274 MB / 1.159 GB, free: 13.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.4936, allocations: 149.8 kB / 1.159 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.4937, allocations: 49.69 kB / 1.159 GB, free: 13.55 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4938, allocations: 330 kB / 1.16 GB, free: 13.22 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009104/0.4947, allocations: 320.9 kB / 1.16 GB, free: 12.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.4958, allocations: 0.5294 MB / 1.16 GB, free: 12.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.4975, allocations: 0.7367 MB / 1.161 GB, free: 11.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4976, allocations: 0 / 1.161 GB, free: 11.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002856/0.5004, allocations: 1.047 MB / 1.162 GB, free: 10.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.5006, allocations: 212.3 kB / 1.162 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5006, allocations: 7.938 kB / 1.162 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.502, allocations: 332.5 kB / 1.163 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.5026, allocations: 127.8 kB / 1.163 GB, free: 9.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.5041, allocations: 0.9464 MB / 1.164 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.5055, allocations: 191.1 kB / 1.164 GB, free: 8.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/0.5056, allocations: 31.98 kB / 1.164 GB, free: 8.527 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5056, allocations: 8 kB / 1.164 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002496/0.5081, allocations: 0.9137 MB / 1.165 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5081, allocations: 4 kB / 1.165 GB, free: 7.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.5093, allocations: 335.7 kB / 1.165 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.5098, allocations: 123.8 kB / 1.165 GB, free: 7.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5113, allocations: 0.9309 MB / 1.166 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5125, allocations: 167.4 kB / 1.166 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/0.5126, allocations: 31.98 kB / 1.166 GB, free: 5.996 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.000579/0.5132, allocations: 356.9 kB / 1.167 GB, free: 5.637 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.5133, allocations: 106.7 kB / 1.167 GB, free: 5.531 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.5173, allocations: 1.217 MB / 1.168 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.5174, allocations: 8 kB / 1.168 GB, free: 4.293 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5174, allocations: 3.984 kB / 1.168 GB, free: 4.289 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.5174, allocations: 96 / 1.168 GB, free: 4.289 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005405/0.5228, allocations: 2.292 MB / 1.17 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.5228, allocations: 11.92 kB / 1.17 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.5231, allocations: 75.89 kB / 1.17 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.5243, allocations: 324.8 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.5243, allocations: 15.98 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.5259, allocations: 0.9679 MB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5259, allocations: 0 / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.53, allocations: 1.29 MB / 1.173 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/0.5306, allocations: 283.4 kB / 1.173 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.5309, allocations: 23.92 kB / 1.173 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.532, allocations: 107.9 kB / 1.173 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.5321, allocations: 39.89 kB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.5322, allocations: 23.98 kB / 1.173 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001446/0.5336, allocations: 0.7467 MB / 1.174 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5337, allocations: 3.938 kB / 1.174 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00193/0.5356, allocations: 0.5613 MB / 1.175 GB, free: 13.35 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009951/0.5366, allocations: 384.9 kB / 1.175 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003405/0.54, allocations: 1.177 MB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.54, allocations: 0 / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009839/0.541, allocations: 382.8 kB / 1.176 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.5442, allocations: 0.4978 MB / 1.177 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.5504, allocations: 2.567 MB / 1.179 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/0.5513, allocations: 1.058 MB / 1.18 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.5516, allocations: 87.41 kB / 1.181 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of SimCode: time 1.052e-06/0.5516, allocations: 0 / 1.181 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of Templates: time 0.03491/0.5866, allocations: 23.83 MB / 1.204 GB, free: 15.45 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches