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.001079/0.001079, allocations: 98.27 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.008789/0.008789, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 10.66 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06257/0.3969, allocations: 59.78 MB / 1.117 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.4152, allocations: 11.93 MB / 1.129 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.4175, allocations: 55.62 kB / 1.129 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.4195, allocations: 0.5399 MB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.4252, allocations: 1.807 MB / 1.131 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.4282, allocations: 1.072 MB / 1.132 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005521/0.4338, allocations: 3.897 MB / 1.136 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.4353, allocations: 0.91 MB / 1.137 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.4377, allocations: 1.12 MB / 1.138 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.4391, allocations: 0.8553 MB / 1.139 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.4392, allocations: 44 kB / 1.139 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.4419, allocations: 1.345 MB / 1.14 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.4422, allocations: 214.9 kB / 1.14 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007084/0.4429, allocations: 0.6272 MB / 1.141 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.4462, allocations: 2.2 MB / 1.143 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4462, allocations: 0 / 1.143 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4462, allocations: 0 / 1.143 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.4462, allocations: 4 kB / 1.143 GB, free: 14.8 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.002739/0.449, allocations: 1.489 MB / 1.144 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.449, allocations: 12.03 kB / 1.145 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.4514, allocations: 470.8 kB / 1.145 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.4536, allocations: 1.132 MB / 1.146 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.454, allocations: 137.8 kB / 1.146 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.4541, allocations: 80 kB / 1.146 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.4564, allocations: 1.005 MB / 1.147 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4564, allocations: 7.984 kB / 1.147 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.4565, allocations: 28 kB / 1.147 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.4565, allocations: 24 kB / 1.147 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.459, allocations: 0.9172 MB / 1.148 GB, free: 9.355 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.006538/0.4655, allocations: 4.907 MB / 1.153 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.4692, allocations: 0.894 MB / 1.154 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.47, allocations: 332.8 kB / 1.154 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006472/0.4707, allocations: 0.9064 MB / 1.155 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4707, allocations: 34.56 kB / 1.155 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.765e-06/0.4707, allocations: 3.938 kB / 1.155 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.009246/0.48, allocations: 2.176 MB / 1.157 GB, free: 15.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.48, allocations: 59.36 kB / 1.157 GB, free: 15.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4818, allocations: 1.055 MB / 1.158 GB, free: 14.36 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.734e-05/0.4819, allocations: 37.7 kB / 1.158 GB, free: 14.31 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.4824, allocations: 0.5274 MB / 1.159 GB, free: 13.78 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.4825, allocations: 149.8 kB / 1.159 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.4826, allocations: 49.69 kB / 1.159 GB, free: 13.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4827, allocations: 322 kB / 1.159 GB, free: 13.26 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.4837, allocations: 332.9 kB / 1.16 GB, free: 12.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.4848, allocations: 0.5255 MB / 1.16 GB, free: 12.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.4866, allocations: 0.7367 MB / 1.161 GB, free: 11.53 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4867, allocations: 0 / 1.161 GB, free: 11.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002912/0.4896, allocations: 1.047 MB / 1.162 GB, free: 10.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.4898, allocations: 216.2 kB / 1.162 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4898, allocations: 4 kB / 1.162 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.4911, allocations: 328.6 kB / 1.162 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.4917, allocations: 135.8 kB / 1.163 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.4932, allocations: 0.9387 MB / 1.164 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.4947, allocations: 199.1 kB / 1.164 GB, free: 8.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.4947, allocations: 27.98 kB / 1.164 GB, free: 8.555 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.4948, allocations: 4 kB / 1.164 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002587/0.4974, allocations: 0.9176 MB / 1.165 GB, free: 7.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4974, allocations: 4 kB / 1.165 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.4985, allocations: 335.6 kB / 1.165 GB, free: 7.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.4991, allocations: 123.8 kB / 1.165 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.5006, allocations: 0.9348 MB / 1.166 GB, free: 6.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.5019, allocations: 171.4 kB / 1.166 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.5019, allocations: 27.98 kB / 1.166 GB, free: 6.02 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.0005533/0.5025, allocations: 360.9 kB / 1.167 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.5027, allocations: 106.7 kB / 1.167 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/0.5068, allocations: 1.205 MB / 1.168 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.5068, allocations: 12.09 kB / 1.168 GB, free: 4.324 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5068, allocations: 7.969 kB / 1.168 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5068, allocations: 3.938 kB / 1.168 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/0.5124, allocations: 2.281 MB / 1.17 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5125, allocations: 12 kB / 1.17 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.5128, allocations: 67.89 kB / 1.17 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.5139, allocations: 328.6 kB / 1.17 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.514, allocations: 19.98 kB / 1.17 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.5156, allocations: 0.9711 MB / 1.171 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5156, allocations: 0 / 1.171 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.5197, allocations: 1.294 MB / 1.173 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/0.5203, allocations: 279.5 kB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.5204, allocations: 12 kB / 1.173 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009277/0.5213, allocations: 115.8 kB / 1.173 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.5214, allocations: 35.89 kB / 1.173 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.5215, allocations: 23.98 kB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001234/0.5227, allocations: 0.7428 MB / 1.174 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.904e-06/0.5227, allocations: 0 / 1.174 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001552/0.5243, allocations: 0.5691 MB / 1.174 GB, free: 13.38 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.0007443/0.525, allocations: 393.7 kB / 1.175 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.5283, allocations: 1.176 MB / 1.176 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5283, allocations: 4 kB / 1.176 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000923/0.5293, allocations: 374.9 kB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.532, allocations: 0.4955 MB / 1.177 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.5374, allocations: 2.542 MB / 1.179 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.538, allocations: 1.065 MB / 1.18 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009403/0.539, allocations: 224.6 kB / 1.18 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.5392, allocations: 75.41 kB / 1.181 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of SimCode: time 6.72e-07/0.5392, allocations: 4 kB / 1.181 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.0389/0.5781, allocations: 24.07 MB / 1.204 GB, free: 15.16 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