Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001227/0.001227, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 65.34 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3775, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07341/0.451, allocations: 70.1 MB / 1.121 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02597/0.477, allocations: 19 MB / 1.139 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.4808, allocations: 67.62 kB / 1.139 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.4836, allocations: 0.6566 MB / 1.14 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008387/0.492, allocations: 2.614 MB / 1.142 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.4963, allocations: 1.49 MB / 1.144 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00674/0.503, allocations: 5.009 MB / 1.149 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.5055, allocations: 1.179 MB / 1.15 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004039/0.5095, allocations: 1.501 MB / 1.151 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.5123, allocations: 1.151 MB / 1.152 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006119/0.513, allocations: 80 kB / 1.153 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003984/0.5169, allocations: 1.243 MB / 1.154 GB, free: 440 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006878/0.5177, allocations: 290.6 kB / 1.154 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.5194, allocations: 0.8163 MB / 1.155 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00452/0.524, allocations: 3.026 MB / 1.158 GB, free: 12.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.524, allocations: 3.938 kB / 1.158 GB, free: 12.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.524, allocations: 0 / 1.158 GB, free: 12.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.689e-05/0.5241, allocations: 0 / 1.158 GB, free: 12.29 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003957/0.528, allocations: 2.034 MB / 1.16 GB, free: 10.19 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.5281, allocations: 8.031 kB / 1.16 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.5303, allocations: 442.5 kB / 1.16 GB, free: 9.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.5329, allocations: 1.508 MB / 1.162 GB, free: 8.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.5333, allocations: 145.9 kB / 1.162 GB, free: 8.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.5335, allocations: 100 kB / 1.162 GB, free: 7.938 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/0.5362, allocations: 1.301 MB / 1.163 GB, free: 6.543 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.5362, allocations: 3.938 kB / 1.163 GB, free: 6.539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.5363, allocations: 44 kB / 1.163 GB, free: 6.496 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.5363, allocations: 24 kB / 1.163 GB, free: 6.473 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.5391, allocations: 1.105 MB / 1.164 GB, free: 5.367 MB / 0.92 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.01046/0.5496, allocations: 7.137 MB / 1.171 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.5529, allocations: 0.806 MB / 1.172 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/0.5536, allocations: 282 kB / 1.172 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.5551, allocations: 1.726 MB / 1.174 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5552, allocations: 38.94 kB / 1.174 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 3.376e-06/0.5552, allocations: 4 kB / 1.174 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.005183/0.5604, allocations: 1.33 MB / 1.175 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.5605, allocations: 55.84 kB / 1.175 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.5642, allocations: 1.533 MB / 1.177 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.5644, allocations: 37.7 kB / 1.177 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000701/0.5651, allocations: 0.6614 MB / 1.178 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.5653, allocations: 173.5 kB / 1.178 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.5657, allocations: 162.5 kB / 1.178 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5659, allocations: 330 kB / 1.178 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.567, allocations: 365.8 kB / 1.179 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.5683, allocations: 0.6315 MB / 1.179 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.5702, allocations: 0.8561 MB / 1.18 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.5702, allocations: 0 / 1.18 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00459/0.5748, allocations: 1.334 MB / 1.181 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.5749, allocations: 8 kB / 1.181 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.5749, allocations: 12.06 kB / 1.181 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.5759, allocations: 216.6 kB / 1.182 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.5767, allocations: 187.7 kB / 1.182 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009352/0.5777, allocations: 0.7162 MB / 1.182 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.5796, allocations: 242.7 kB / 1.183 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.5798, allocations: 35.98 kB / 1.183 GB, free: 1.312 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008815/0.5807, allocations: 363 kB / 1.183 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005509/0.5812, allocations: 146.2 kB / 1.183 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.5842, allocations: 1.133 MB / 1.184 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.5843, allocations: 15.98 kB / 1.184 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5843, allocations: 3.938 kB / 1.184 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5843, allocations: 3.984 kB / 1.184 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/0.5905, allocations: 2.506 MB / 1.187 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.5905, allocations: 0 / 1.187 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.5909, allocations: 87.88 kB / 1.187 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/0.5917, allocations: 220.7 kB / 1.187 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.5918, allocations: 15.98 kB / 1.187 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.5931, allocations: 0.767 MB / 1.188 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5931, allocations: 0 / 1.188 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.5967, allocations: 1.203 MB / 1.189 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008576/0.5976, allocations: 346.9 kB / 1.189 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004281/0.598, allocations: 16.19 kB / 1.189 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.5992, allocations: 87.89 kB / 1.189 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.5993, allocations: 60.27 kB / 1.189 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.5994, allocations: 23.98 kB / 1.19 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002349/0.6018, allocations: 1.078 MB / 1.191 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6018, allocations: 0 / 1.191 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001841/0.6036, allocations: 439.4 kB / 1.191 GB, free: 8.633 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.6049, allocations: 462 kB / 1.191 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.6073, allocations: 0.8289 MB / 1.192 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6073, allocations: 0 / 1.192 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.6087, allocations: 451.5 kB / 1.193 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/0.6128, allocations: 0.6914 MB / 1.193 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/0.618, allocations: 2.732 MB / 1.196 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.6191, allocations: 1.172 MB / 1.197 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00154/0.6207, allocations: 274 kB / 1.197 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.6211, allocations: 111.4 kB / 1.198 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/0.6211, allocations: 0 / 1.198 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of Templates: time 0.05961/0.6807, allocations: 30.05 MB / 1.227 GB, free: 4.137 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches