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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_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.001136/0.001135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001216/0.001216, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 69.53 kB / 0.9116 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3747, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06915/0.4439, allocations: 69.92 MB / 1.136 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02691/0.4708, allocations: 18.79 MB / 1.154 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.4747, allocations: 71.56 kB / 1.154 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.478, allocations: 0.7074 MB / 1.155 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009666/0.4877, allocations: 2.649 MB / 1.158 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005623/0.4934, allocations: 1.516 MB / 1.159 GB, free: 12.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007538/0.501, allocations: 4.063 MB / 1.163 GB, free: 8.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003463/0.5045, allocations: 1.449 MB / 1.165 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005931/0.5104, allocations: 1.774 MB / 1.166 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.5135, allocations: 1.21 MB / 1.167 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007446/0.5143, allocations: 180 kB / 1.168 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.5188, allocations: 1.431 MB / 1.169 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.5199, allocations: 398.5 kB / 1.169 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.5228, allocations: 0.9177 MB / 1.17 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007107/0.5299, allocations: 3.089 MB / 1.173 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.53, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.715e-06/0.53, allocations: 4 kB / 1.173 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001289/0.5301, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9356 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.00622/0.5363, allocations: 2.034 MB / 1.175 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.5364, allocations: 15.97 kB / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.5391, allocations: 446.4 kB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.5429, allocations: 1.515 MB / 1.177 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.5432, allocations: 130 kB / 1.177 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.5434, allocations: 104 kB / 1.177 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.5461, allocations: 1.301 MB / 1.179 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.5461, allocations: 0 / 1.179 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/0.5462, allocations: 44 kB / 1.179 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.5463, allocations: 28 kB / 1.179 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.5488, allocations: 1.108 MB / 1.18 GB, free: 7.332 MB / 0.9356 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.009114/0.5579, allocations: 7.125 MB / 1.187 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.5614, allocations: 0.8057 MB / 1.188 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.562, allocations: 282 kB / 1.188 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.5634, allocations: 1.714 MB / 1.19 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.5635, allocations: 46.88 kB / 1.19 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.445e-06/0.5635, allocations: 0 / 1.19 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004969/0.5685, allocations: 1.334 MB / 1.191 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.5685, allocations: 59.84 kB / 1.191 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.571, allocations: 1.525 MB / 1.192 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.482e-05/0.5711, allocations: 37.7 kB / 1.193 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.5717, allocations: 0.6691 MB / 1.193 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.5719, allocations: 169.6 kB / 1.193 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.5722, allocations: 162.4 kB / 1.193 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5723, allocations: 338 kB / 1.194 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009434/0.5733, allocations: 361.8 kB / 1.194 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.5745, allocations: 0.6333 MB / 1.195 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.5762, allocations: 0.8521 MB / 1.196 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5762, allocations: 4 kB / 1.196 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00436/0.5806, allocations: 1.334 MB / 1.197 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.5806, allocations: 8 kB / 1.197 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5806, allocations: 8 kB / 1.197 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009311/0.5816, allocations: 224.7 kB / 1.197 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.5824, allocations: 175.8 kB / 1.197 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.5834, allocations: 0.7239 MB / 1.198 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.5856, allocations: 234.7 kB / 1.198 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.5858, allocations: 43.97 kB / 1.198 GB, free: 3.273 MB / 0.9512 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.0009701/0.5868, allocations: 357.5 kB / 1.199 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/0.5872, allocations: 146.2 kB / 1.199 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.5898, allocations: 1.137 MB / 1.2 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.5898, allocations: 11.98 kB / 1.2 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.5898, allocations: 3.938 kB / 1.2 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5899, allocations: 0 / 1.2 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/0.595, allocations: 2.51 MB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.595, allocations: 4 kB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.5954, allocations: 79.89 kB / 1.202 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007668/0.5962, allocations: 224.7 kB / 1.203 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.5962, allocations: 19.92 kB / 1.203 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.5975, allocations: 0.7708 MB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5975, allocations: 4.031 kB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.601, allocations: 1.199 MB / 1.205 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007751/0.6017, allocations: 350.9 kB / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.602, allocations: 15.98 kB / 1.205 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.6029, allocations: 87.81 kB / 1.205 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.603, allocations: 48.39 kB / 1.205 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/0.6031, allocations: 27.97 kB / 1.205 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001811/0.6049, allocations: 1.074 MB / 1.206 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6049, allocations: 0 / 1.206 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001322/0.6062, allocations: 439.4 kB / 1.207 GB, free: 10.6 MB / 0.9669 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.0009382/0.6072, allocations: 487 kB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.6095, allocations: 0.8602 MB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6096, allocations: 4 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6108, allocations: 439.5 kB / 1.208 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.6142, allocations: 0.736 MB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.6185, allocations: 2.741 MB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.6192, allocations: 1.172 MB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001209/0.6205, allocations: 267.9 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.6207, allocations: 107.4 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/0.6207, allocations: 0 / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of Templates: time 0.05418/0.6749, allocations: 31.09 MB / 1.244 GB, free: 5.012 MB / 0.9981 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