Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 97.48 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.01227/0.01227, allocations: 169 kB / 16.26 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.614/1.614, 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.821/2.821, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 8.688 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3554, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06474/0.4202, allocations: 59.76 MB / 1.117 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.4379, allocations: 11.93 MB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.4406, allocations: 55.62 kB / 1.129 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.4429, allocations: 0.5399 MB / 1.129 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.449, allocations: 1.804 MB / 1.131 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.4525, allocations: 1.068 MB / 1.132 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007715/0.4602, allocations: 3.902 MB / 1.136 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.4621, allocations: 0.9022 MB / 1.137 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.4654, allocations: 1.116 MB / 1.138 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.4671, allocations: 0.8553 MB / 1.139 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.4672, allocations: 44 kB / 1.139 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.4704, allocations: 1.349 MB / 1.14 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.4708, allocations: 210.9 kB / 1.14 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008434/0.4716, allocations: 0.6272 MB / 1.141 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.4755, allocations: 2.208 MB / 1.143 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4756, allocations: 0 / 1.143 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4756, allocations: 0 / 1.143 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.4756, allocations: 0 / 1.143 GB, free: 14.82 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.003145/0.4787, allocations: 1.501 MB / 1.144 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4788, allocations: 8.031 kB / 1.144 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.4805, allocations: 387 kB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.4828, allocations: 1.117 MB / 1.146 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.4832, allocations: 133.9 kB / 1.146 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.4834, allocations: 80 kB / 1.146 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.4853, allocations: 0.9739 MB / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4854, allocations: 0 / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.4855, allocations: 32 kB / 1.147 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.4855, allocations: 20 kB / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.4876, allocations: 0.847 MB / 1.148 GB, free: 9.582 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.006565/0.4942, allocations: 4.804 MB / 1.153 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.4958, allocations: 0.6063 MB / 1.153 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.4965, allocations: 282.3 kB / 1.154 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.498, allocations: 1.392 MB / 1.155 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.498, allocations: 42.5 kB / 1.155 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.4981, allocations: 0 / 1.155 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007426/0.5055, allocations: 1.848 MB / 1.157 GB, free: 15.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5056, allocations: 59.41 kB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.5073, allocations: 1.063 MB / 1.158 GB, free: 14.76 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.5074, allocations: 37.7 kB / 1.158 GB, free: 14.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.5079, allocations: 0.5196 MB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.508, allocations: 149.8 kB / 1.159 GB, free: 14.04 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/0.5081, allocations: 53.69 kB / 1.159 GB, free: 13.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5083, allocations: 325.9 kB / 1.159 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.5091, allocations: 288.9 kB / 1.159 GB, free: 13.38 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.5101, allocations: 497.2 kB / 1.16 GB, free: 12.81 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.5116, allocations: 0.6663 MB / 1.16 GB, free: 12.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5116, allocations: 4 kB / 1.16 GB, free: 12.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002643/0.5143, allocations: 0.9688 MB / 1.161 GB, free: 11.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.5144, allocations: 212.5 kB / 1.161 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5145, allocations: 8 kB / 1.161 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.5158, allocations: 339 kB / 1.162 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.5162, allocations: 115.8 kB / 1.162 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.5179, allocations: 0.9387 MB / 1.163 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.5193, allocations: 179.2 kB / 1.163 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.5194, allocations: 39.92 kB / 1.163 GB, free: 9.207 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.5194, allocations: 4 kB / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/0.5216, allocations: 0.8436 MB / 1.164 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.5216, allocations: 4 kB / 1.164 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.5227, allocations: 328.9 kB / 1.164 GB, free: 8.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.5232, allocations: 107.9 kB / 1.164 GB, free: 7.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.5247, allocations: 0.9411 MB / 1.165 GB, free: 6.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.5258, allocations: 159.3 kB / 1.165 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.5259, allocations: 27.98 kB / 1.165 GB, free: 6.773 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.0006188/0.5265, allocations: 348.9 kB / 1.166 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.5267, allocations: 110.7 kB / 1.166 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.5298, allocations: 1.078 MB / 1.167 GB, free: 5.227 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.5298, allocations: 11.98 kB / 1.167 GB, free: 5.215 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5298, allocations: 0 / 1.167 GB, free: 5.215 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5298, allocations: 0 / 1.167 GB, free: 5.215 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/0.5352, allocations: 2.173 MB / 1.169 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5353, allocations: 4.281 kB / 1.169 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.5355, allocations: 59.91 kB / 1.169 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.5366, allocations: 322.6 kB / 1.169 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.5366, allocations: 11.98 kB / 1.169 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.5382, allocations: 0.9776 MB / 1.17 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5382, allocations: 0 / 1.17 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.5418, allocations: 1.199 MB / 1.171 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/0.5424, allocations: 271.5 kB / 1.172 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5425, allocations: 16 kB / 1.172 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.5434, allocations: 103.8 kB / 1.172 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5435, allocations: 43.77 kB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.5436, allocations: 20 kB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001287/0.5449, allocations: 0.7469 MB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.81e-07/0.5449, allocations: 3.938 kB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00174/0.5466, allocations: 0.5692 MB / 1.173 GB, free: 14.53 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 (33): * Single equations (assignments): 28 * 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.0009048/0.5475, allocations: 396.6 kB / 1.174 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002971/0.5505, allocations: 1.055 MB / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5505, allocations: 0 / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.5513, allocations: 338.8 kB / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/0.5542, allocations: 0.5119 MB / 1.175 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.558, allocations: 2.255 MB / 1.178 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.5587, allocations: 1.065 MB / 1.179 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009143/0.5597, allocations: 216.1 kB / 1.179 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.5598, allocations: 75.42 kB / 1.179 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.5598, allocations: 0 / 1.179 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of Templates: time 0.0417/0.6015, allocations: 24.05 MB / 1.202 GB, free: 0.7812 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches