Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001409/0.001409, allocations: 106.9 kB / 16.27 MB, free: 6.355 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.001529/0.001529, allocations: 194.9 kB / 17.2 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 68.55 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2803, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07059/0.3509, allocations: 70.5 MB / 1.019 GB, free: 2.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.3772, allocations: 18.93 MB / 1.038 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.3805, allocations: 67.62 kB / 1.038 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.3835, allocations: 0.8228 MB / 1.038 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008693/0.3923, allocations: 2.846 MB / 1.041 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.3968, allocations: 1.647 MB / 1.043 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006037/0.4029, allocations: 4.031 MB / 1.047 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.4051, allocations: 1.449 MB / 1.048 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/0.4095, allocations: 1.769 MB / 1.05 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.4115, allocations: 1.179 MB / 1.051 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.4118, allocations: 176 kB / 1.051 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.4149, allocations: 1.412 MB / 1.053 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.4153, allocations: 386.6 kB / 1.053 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.4163, allocations: 0.9216 MB / 1.054 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.4204, allocations: 3.073 MB / 1.057 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4204, allocations: 0 / 1.057 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4204, allocations: 0 / 1.057 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.4204, allocations: 4 kB / 1.057 GB, free: 11.33 MB / 0.8419 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.003306/0.4238, allocations: 2.021 MB / 1.059 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4238, allocations: 12.03 kB / 1.059 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.4261, allocations: 445.8 kB / 1.059 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.4285, allocations: 1.489 MB / 1.061 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.4289, allocations: 138 kB / 1.061 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.429, allocations: 104 kB / 1.061 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.4315, allocations: 1.325 MB / 1.062 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.4315, allocations: 3.984 kB / 1.062 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.4316, allocations: 44 kB / 1.062 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.4316, allocations: 27.94 kB / 1.062 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.4343, allocations: 1.108 MB / 1.063 GB, free: 4.395 MB / 0.8419 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.008576/0.4429, allocations: 7.544 MB / 1.071 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.446, allocations: 0.8038 MB / 1.072 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.4467, allocations: 282 kB / 1.072 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.448, allocations: 1.726 MB / 1.074 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.448, allocations: 38.94 kB / 1.074 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.448, allocations: 0 / 1.074 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.004897/0.4529, allocations: 1.334 MB / 1.075 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.453, allocations: 59.78 kB / 1.075 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.4554, allocations: 1.557 MB / 1.076 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.719e-05/0.4555, allocations: 37.7 kB / 1.077 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/0.456, allocations: 0.6768 MB / 1.077 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4562, allocations: 165.6 kB / 1.077 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.4565, allocations: 174.4 kB / 1.077 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4566, allocations: 337.9 kB / 1.078 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/0.4576, allocations: 369.8 kB / 1.078 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.4589, allocations: 0.6585 MB / 1.079 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.4607, allocations: 0.8946 MB / 1.08 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4607, allocations: 3.938 kB / 1.08 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003098/0.4638, allocations: 1.201 MB / 1.081 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4639, allocations: 8 kB / 1.081 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.4639, allocations: 11.94 kB / 1.081 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000872/0.4648, allocations: 224.6 kB / 1.081 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.4655, allocations: 195.7 kB / 1.081 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000852/0.4664, allocations: 0.7239 MB / 1.082 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5267/0.9931, allocations: 210.6 kB / 1.082 GB, free: 132.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/0.9934, allocations: 44.33 kB / 1.082 GB, free: 132.6 MB / 0.8575 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.0007445/0.9941, allocations: 357.3 kB / 1.083 GB, free: 132.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.9945, allocations: 151.8 kB / 1.083 GB, free: 132.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.9974, allocations: 1.139 MB / 1.084 GB, free: 132.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.9974, allocations: 8.062 kB / 1.084 GB, free: 132.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9974, allocations: 1.219 kB / 1.084 GB, free: 132.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.9975, allocations: 3.375 kB / 1.084 GB, free: 132.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005855/1.003, allocations: 2.506 MB / 1.086 GB, free: 131.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.003, allocations: 1.469 kB / 1.086 GB, free: 131.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/1.004, allocations: 84.31 kB / 1.086 GB, free: 131.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008581/1.005, allocations: 214.3 kB / 1.087 GB, free: 131.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/1.005, allocations: 20.84 kB / 1.087 GB, free: 131.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/1.006, allocations: 0.7748 MB / 1.087 GB, free: 130.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.006, allocations: 2.188 kB / 1.087 GB, free: 130.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/1.01, allocations: 1.205 MB / 1.089 GB, free: 130.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/1.011, allocations: 352.2 kB / 1.089 GB, free: 129.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/1.011, allocations: 13.56 kB / 1.089 GB, free: 129.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009505/1.012, allocations: 77.17 kB / 1.089 GB, free: 129.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.012, allocations: 44.59 kB / 1.089 GB, free: 129.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/1.012, allocations: 32.36 kB / 1.089 GB, free: 129.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002226/1.014, allocations: 1.084 MB / 1.09 GB, free: 129.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.8e-07/1.014, allocations: 3.375 kB / 1.09 GB, free: 129.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001777/1.016, allocations: 452 kB / 1.091 GB, free: 129.4 MB / 0.8575 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.001117/1.017, allocations: 472.9 kB / 1.091 GB, free: 129.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002826/1.02, allocations: 0.8858 MB / 1.092 GB, free: 129 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.02, allocations: 1.062 kB / 1.092 GB, free: 129 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/1.022, allocations: 449.1 kB / 1.092 GB, free: 128.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/1.025, allocations: 0.7444 MB / 1.093 GB, free: 128.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/1.03, allocations: 2.312 MB / 1.095 GB, free: 127.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.031, allocations: 1.16 MB / 1.096 GB, free: 126.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/1.032, allocations: 120 kB / 1.096 GB, free: 126.8 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/1.032, allocations: 0 / 1.096 GB, free: 126.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.05783/1.09, allocations: 34.08 MB / 1.13 GB, free: 113.1 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches