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.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.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.001223/0.001224, allocations: 91.84 kB / 16.02 MB, free: 80 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.002136/0.002137, allocations: 180.5 kB / 16.92 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.643/1.643, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003794, allocations: 12.38 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3555, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06158/0.4172, allocations: 59.77 MB / 1.118 GB, free: 9 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.4347, allocations: 11.92 MB / 1.129 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.4377, allocations: 59.56 kB / 1.129 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.4405, allocations: 0.5477 MB / 1.13 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006585/0.4471, allocations: 1.796 MB / 1.132 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.4506, allocations: 1.082 MB / 1.133 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005798/0.4564, allocations: 3.902 MB / 1.137 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.4585, allocations: 0.8905 MB / 1.137 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.4617, allocations: 1.12 MB / 1.138 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4636, allocations: 0.8553 MB / 1.139 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.464, allocations: 40 kB / 1.139 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.4674, allocations: 1.353 MB / 1.141 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004698/0.4679, allocations: 214.8 kB / 1.141 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.4692, allocations: 0.6311 MB / 1.142 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.4722, allocations: 1.699 MB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4722, allocations: 0 / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.915e-06/0.4723, allocations: 0 / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.554e-05/0.4723, allocations: 0 / 1.143 GB, free: 14.79 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.003621/0.476, allocations: 1.497 MB / 1.145 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.476, allocations: 11.97 kB / 1.145 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.4781, allocations: 390.9 kB / 1.145 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.4815, allocations: 1.128 MB / 1.146 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.482, allocations: 125.9 kB / 1.146 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.4823, allocations: 84 kB / 1.146 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.485, allocations: 0.9622 MB / 1.147 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.4851, allocations: 8 kB / 1.147 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.4852, allocations: 35.94 kB / 1.147 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.4852, allocations: 16 kB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.4878, allocations: 0.8431 MB / 1.148 GB, free: 9.543 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.00894/0.4968, allocations: 4.809 MB / 1.153 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.4986, allocations: 0.5945 MB / 1.153 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.4993, allocations: 286.3 kB / 1.154 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/0.501, allocations: 1.392 MB / 1.155 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.501, allocations: 42.48 kB / 1.155 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/0.5011, allocations: 4 kB / 1.155 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007863/0.5089, allocations: 1.852 MB / 1.157 GB, free: 15.86 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.509, allocations: 59.34 kB / 1.157 GB, free: 15.79 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.5113, allocations: 1.059 MB / 1.158 GB, free: 14.72 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.5115, allocations: 41.7 kB / 1.158 GB, free: 14.67 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.5121, allocations: 0.5235 MB / 1.159 GB, free: 14.14 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.5123, allocations: 145.9 kB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.5124, allocations: 45.69 kB / 1.159 GB, free: 13.95 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5125, allocations: 337.8 kB / 1.159 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008537/0.5134, allocations: 285 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.5145, allocations: 0.4902 MB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.5161, allocations: 0.6624 MB / 1.16 GB, free: 12.05 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.5161, allocations: 0 / 1.16 GB, free: 12.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002792/0.5189, allocations: 0.9767 MB / 1.161 GB, free: 11.06 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.5191, allocations: 204.5 kB / 1.162 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5191, allocations: 4 kB / 1.162 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.5206, allocations: 348.5 kB / 1.162 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.5211, allocations: 107.9 kB / 1.162 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.5228, allocations: 0.941 MB / 1.163 GB, free: 9.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5243, allocations: 183.2 kB / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.952e-05/0.5245, allocations: 24 kB / 1.163 GB, free: 9.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5245, allocations: 4 kB / 1.163 GB, free: 9.176 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002372/0.5269, allocations: 0.8551 MB / 1.164 GB, free: 8.316 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5269, allocations: 4 kB / 1.164 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.5281, allocations: 325.1 kB / 1.164 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.5286, allocations: 115.8 kB / 1.164 GB, free: 7.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.5302, allocations: 0.9425 MB / 1.165 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.5316, allocations: 155.3 kB / 1.165 GB, free: 6.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/0.5317, allocations: 27.98 kB / 1.166 GB, free: 6.73 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.000744/0.5325, allocations: 349 kB / 1.166 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.5328, allocations: 106.7 kB / 1.166 GB, free: 6.273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.5362, allocations: 1.078 MB / 1.167 GB, free: 5.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.5363, allocations: 8 kB / 1.167 GB, free: 5.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5363, allocations: 8 kB / 1.167 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5363, allocations: 0 / 1.167 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/0.5422, allocations: 2.169 MB / 1.169 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.5422, allocations: 0 / 1.169 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.5424, allocations: 59.91 kB / 1.169 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.5436, allocations: 330.7 kB / 1.169 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.5436, allocations: 12 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.5454, allocations: 0.9736 MB / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5454, allocations: 4.031 kB / 1.17 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/0.5492, allocations: 1.199 MB / 1.172 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/0.5499, allocations: 271.5 kB / 1.172 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.5502, allocations: 15.94 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5513, allocations: 103.8 kB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5514, allocations: 43.77 kB / 1.172 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.5515, allocations: 23.98 kB / 1.172 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00159/0.5531, allocations: 0.743 MB / 1.173 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5531, allocations: 0 / 1.173 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00216/0.5552, allocations: 0.5652 MB / 1.173 GB, free: 14.49 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.00103/0.5563, allocations: 400.6 kB / 1.174 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003071/0.5594, allocations: 1.063 MB / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5594, allocations: 0 / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.5603, allocations: 330.5 kB / 1.175 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/0.5636, allocations: 0.5079 MB / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.5682, allocations: 2.286 MB / 1.178 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/0.5691, allocations: 1.065 MB / 1.179 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.5694, allocations: 79.42 kB / 1.179 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of SimCode: time 1.392e-06/0.5695, allocations: 0 / 1.179 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.03713/0.6066, allocations: 23.73 MB / 1.202 GB, free: 1.125 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/jenkins1/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