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.001624/0.001624, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.00175/0.001751, allocations: 187 kB / 17.34 MB, free: 5.742 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.531/1.531, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 55.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8166, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0694/0.886, allocations: 70.5 MB / 1.277 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02424/0.9103, allocations: 18.93 MB / 1.296 GB, free: 3.906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.9131, allocations: 67.56 kB / 1.296 GB, free: 3.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.9157, allocations: 0.819 MB / 1.297 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008518/0.9243, allocations: 2.853 MB / 1.299 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.929, allocations: 1.659 MB / 1.301 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006497/0.9355, allocations: 4.05 MB / 1.305 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.9385, allocations: 1.457 MB / 1.306 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005019/0.9435, allocations: 1.8 MB / 1.308 GB, free: 7.148 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.9461, allocations: 1.175 MB / 1.309 GB, free: 5.969 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000664/0.9468, allocations: 176 kB / 1.309 GB, free: 5.797 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003659/0.9505, allocations: 1.419 MB / 1.311 GB, free: 4.375 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007682/0.9513, allocations: 390.6 kB / 1.311 GB, free: 3.992 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.9533, allocations: 0.9216 MB / 1.312 GB, free: 3.066 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.9594, allocations: 3.099 MB / 1.315 GB, free: 15.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9594, allocations: 0 / 1.315 GB, free: 15.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9594, allocations: 0 / 1.315 GB, free: 15.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.243e-05/0.9595, allocations: 0 / 1.315 GB, free: 15.96 MB / 1.045 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.005006/0.9645, allocations: 2.026 MB / 1.317 GB, free: 13.87 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9646, allocations: 12.03 kB / 1.317 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.9672, allocations: 446.4 kB / 1.318 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.9707, allocations: 1.555 MB / 1.319 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/0.9708, allocations: 78.03 kB / 1.319 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.9711, allocations: 100 kB / 1.319 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.9743, allocations: 1.313 MB / 1.321 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.9744, allocations: 3.938 kB / 1.321 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.9745, allocations: 44 kB / 1.321 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.9746, allocations: 24 kB / 1.321 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.9776, allocations: 1.105 MB / 1.322 GB, free: 9.039 MB / 1.045 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.01019/0.9878, allocations: 7.501 MB / 1.329 GB, free: 1.023 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.9911, allocations: 0.8097 MB / 1.33 GB, free: 216 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.9918, allocations: 286 kB / 1.33 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.9931, allocations: 1.718 MB / 1.332 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.9932, allocations: 39 kB / 1.332 GB, free: 13.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.9932, allocations: 3.938 kB / 1.332 GB, free: 13.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.00522/0.9985, allocations: 1.342 MB / 1.333 GB, free: 12.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.9985, allocations: 55.84 kB / 1.333 GB, free: 12.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/1.002, allocations: 1.542 MB / 1.335 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.002, allocations: 37.7 kB / 1.335 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/1.003, allocations: 0.6729 MB / 1.335 GB, free: 10.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/1.003, allocations: 177.5 kB / 1.336 GB, free: 9.887 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/1.003, allocations: 174.4 kB / 1.336 GB, free: 9.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.003, allocations: 333.9 kB / 1.336 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.004, allocations: 369.8 kB / 1.336 GB, free: 9.016 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/1.006, allocations: 0.6546 MB / 1.337 GB, free: 8.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/1.008, allocations: 0.8867 MB / 1.338 GB, free: 7.238 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.008, allocations: 7.938 kB / 1.338 GB, free: 7.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003296/1.011, allocations: 1.193 MB / 1.339 GB, free: 6.023 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.011, allocations: 8 kB / 1.339 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.011, allocations: 8 kB / 1.339 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009657/1.012, allocations: 224.6 kB / 1.339 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/1.013, allocations: 191.7 kB / 1.339 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009394/1.014, allocations: 0.7123 MB / 1.34 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.015, allocations: 218.6 kB / 1.34 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/1.016, allocations: 39.98 kB / 1.34 GB, free: 4.605 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0007645/1.016, allocations: 361.6 kB / 1.341 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/1.017, allocations: 146.2 kB / 1.341 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/1.02, allocations: 1.149 MB / 1.342 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/1.02, allocations: 8 kB / 1.342 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.02, allocations: 0 / 1.342 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.02, allocations: 3.984 kB / 1.342 GB, free: 2.918 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/1.026, allocations: 2.51 MB / 1.344 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/1.026, allocations: 4 kB / 1.344 GB, free: 332 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/1.026, allocations: 83.97 kB / 1.345 GB, free: 248 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008222/1.027, allocations: 216.6 kB / 1.345 GB, free: 28 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/1.027, allocations: 15.98 kB / 1.345 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/1.029, allocations: 0.7708 MB / 1.346 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.029, allocations: 3.984 kB / 1.346 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/1.032, allocations: 1.199 MB / 1.347 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008104/1.033, allocations: 358.9 kB / 1.347 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004213/1.034, allocations: 12 kB / 1.347 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.035, allocations: 67.92 kB / 1.347 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.035, allocations: 52.38 kB / 1.347 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/1.035, allocations: 27.98 kB / 1.347 GB, free: 13.44 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002277/1.037, allocations: 1.09 MB / 1.348 GB, free: 12.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.81e-07/1.037, allocations: 0 / 1.348 GB, free: 12.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001731/1.039, allocations: 443.4 kB / 1.349 GB, free: 11.92 MB / 1.076 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.001208/1.04, allocations: 469.6 kB / 1.349 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002445/1.043, allocations: 0.8447 MB / 1.35 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.043, allocations: 320 / 1.35 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.044, allocations: 451.2 kB / 1.35 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/1.048, allocations: 0.7425 MB / 1.351 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/1.053, allocations: 2.281 MB / 1.353 GB, free: 7.109 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008682/1.054, allocations: 1.157 MB / 1.354 GB, free: 5.926 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/1.054, allocations: 131.3 kB / 1.355 GB, free: 5.797 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/1.054, allocations: 4 kB / 1.355 GB, free: 5.793 MB / 1.076 GB Notification: Performance of Templates: time 0.05092/1.105, allocations: 34.21 MB / 1.388 GB, free: 3.785 MB / 1.107 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/jenkins1/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