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.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.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.001071/0.001071, allocations: 98.03 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.008477/0.008477, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 462.7 MB / 0.7364 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003709, allocations: 8.156 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06047/0.3716, allocations: 59.8 MB / 1.117 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.3882, allocations: 11.93 MB / 1.129 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.3899, allocations: 55.62 kB / 1.129 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.3914, allocations: 0.5399 MB / 1.129 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.3965, allocations: 1.807 MB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.3994, allocations: 1.068 MB / 1.132 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004344/0.4037, allocations: 3.899 MB / 1.136 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.405, allocations: 0.9022 MB / 1.137 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.407, allocations: 1.124 MB / 1.138 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.4081, allocations: 0.8554 MB / 1.139 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.4083, allocations: 44 kB / 1.139 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.4107, allocations: 1.345 MB / 1.14 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.4109, allocations: 214.8 kB / 1.14 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005838/0.4115, allocations: 0.6311 MB / 1.141 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.4139, allocations: 2.2 MB / 1.143 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4139, allocations: 8 kB / 1.143 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4139, allocations: 0 / 1.143 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.4139, allocations: 0 / 1.143 GB, free: 14.74 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.002545/0.4165, allocations: 1.485 MB / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4165, allocations: 12.03 kB / 1.145 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.4188, allocations: 470.9 kB / 1.145 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.4207, allocations: 1.136 MB / 1.146 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.4211, allocations: 125.9 kB / 1.146 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.4213, allocations: 80 kB / 1.146 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.4233, allocations: 1.013 MB / 1.147 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4233, allocations: 4 kB / 1.147 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.4234, allocations: 28 kB / 1.147 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.4235, allocations: 20 kB / 1.147 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.4259, allocations: 0.9172 MB / 1.148 GB, free: 9.305 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.006117/0.432, allocations: 4.901 MB / 1.153 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.4356, allocations: 0.9056 MB / 1.154 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.4364, allocations: 331.9 kB / 1.154 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/0.4372, allocations: 0.8986 MB / 1.155 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4372, allocations: 38.56 kB / 1.155 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 4.929e-06/0.4372, allocations: 0 / 1.155 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.0095/0.4467, allocations: 2.184 MB / 1.157 GB, free: 15.44 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4468, allocations: 59.36 kB / 1.157 GB, free: 15.37 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.4484, allocations: 1.059 MB / 1.158 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.4485, allocations: 37.7 kB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.4489, allocations: 0.5197 MB / 1.159 GB, free: 13.73 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.4491, allocations: 149.7 kB / 1.159 GB, free: 13.58 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.4492, allocations: 49.69 kB / 1.159 GB, free: 13.53 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4493, allocations: 330 kB / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/0.4502, allocations: 324.9 kB / 1.16 GB, free: 12.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.4514, allocations: 0.5333 MB / 1.16 GB, free: 12.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.4531, allocations: 0.725 MB / 1.161 GB, free: 11.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4531, allocations: 3.938 kB / 1.161 GB, free: 11.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002814/0.456, allocations: 1.051 MB / 1.162 GB, free: 10.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.4561, allocations: 208.4 kB / 1.162 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4561, allocations: 4 kB / 1.162 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.4575, allocations: 346.7 kB / 1.162 GB, free: 9.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.4581, allocations: 119.9 kB / 1.163 GB, free: 9.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.4597, allocations: 0.9464 MB / 1.164 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4611, allocations: 195.1 kB / 1.164 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.4611, allocations: 28 kB / 1.164 GB, free: 8.504 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.4612, allocations: 4 kB / 1.164 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002569/0.4637, allocations: 0.9213 MB / 1.165 GB, free: 7.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4638, allocations: 4 kB / 1.165 GB, free: 7.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4649, allocations: 340.1 kB / 1.165 GB, free: 7.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.4655, allocations: 123.8 kB / 1.165 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.467, allocations: 0.9348 MB / 1.166 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.4683, allocations: 163.4 kB / 1.166 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.4683, allocations: 31.98 kB / 1.166 GB, free: 5.965 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.0005889/0.4689, allocations: 356.9 kB / 1.167 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.4691, allocations: 114.6 kB / 1.167 GB, free: 5.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.4732, allocations: 1.209 MB / 1.168 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4732, allocations: 12 kB / 1.168 GB, free: 4.258 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4732, allocations: 0 / 1.168 GB, free: 4.258 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4732, allocations: 3.984 kB / 1.168 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/0.4787, allocations: 2.289 MB / 1.17 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.4787, allocations: 7.938 kB / 1.17 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.479, allocations: 71.89 kB / 1.17 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.4801, allocations: 334.7 kB / 1.17 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.4802, allocations: 8 kB / 1.17 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.4817, allocations: 0.9748 MB / 1.171 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4817, allocations: 3.938 kB / 1.171 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/0.4857, allocations: 1.286 MB / 1.173 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.4862, allocations: 283.5 kB / 1.173 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.4863, allocations: 20 kB / 1.173 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/0.4873, allocations: 111.8 kB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.4874, allocations: 35.89 kB / 1.173 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.4875, allocations: 23.98 kB / 1.173 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001236/0.4887, allocations: 0.7467 MB / 1.174 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4887, allocations: 0 / 1.174 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001593/0.4903, allocations: 0.5614 MB / 1.174 GB, free: 13.32 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.0008181/0.4912, allocations: 382.6 kB / 1.175 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003627/0.4948, allocations: 1.18 MB / 1.176 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.4948, allocations: 4 kB / 1.176 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4959, allocations: 374.9 kB / 1.176 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/0.4998, allocations: 0.499 MB / 1.177 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.5065, allocations: 2.539 MB / 1.179 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.5074, allocations: 1.065 MB / 1.18 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001138/0.5085, allocations: 228.6 kB / 1.18 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.5088, allocations: 79.42 kB / 1.181 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of SimCode: time 8.31e-07/0.5088, allocations: 4 kB / 1.181 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of Templates: time 0.04346/0.5523, allocations: 24.07 MB / 1.204 GB, free: 15.09 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/jenkins/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