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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.423/3.423, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.542e-05, allocations: 6.016 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.103/0.1031, allocations: 73.56 MB / 0.9493 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03711/0.1402, allocations: 20.57 MB / 0.9694 GB, free: 8.273 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004555/0.1447, allocations: 103.1 kB / 0.9695 GB, free: 8.172 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003501/0.1482, allocations: 0.8382 MB / 0.9703 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.1607, allocations: 3.132 MB / 0.9733 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.006998/0.1677, allocations: 2.135 MB / 0.9754 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.008441/0.1761, allocations: 4.161 MB / 0.9795 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/0.1789, allocations: 1.175 MB / 0.9806 GB, free: 12.65 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008701/0.1876, allocations: 2.639 MB / 0.9832 GB, free: 10.02 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.1909, allocations: 1.044 MB / 0.9842 GB, free: 8.969 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004962/0.1914, allocations: 180 kB / 0.9844 GB, free: 8.793 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.1953, allocations: 1.165 MB / 0.9855 GB, free: 7.625 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005744/0.1959, allocations: 426.3 kB / 0.986 GB, free: 7.207 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.1973, allocations: 0.6313 MB / 0.9866 GB, free: 6.574 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00691/0.2042, allocations: 3.256 MB / 0.9897 GB, free: 3.309 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2042, allocations: 0 / 0.9897 GB, free: 3.309 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2042, allocations: 0 / 0.9897 GB, free: 3.309 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.446e-05/0.2043, allocations: 0 / 0.9897 GB, free: 3.309 MB / 0.948 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.005354/0.2096, allocations: 2.397 MB / 0.9921 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.2097, allocations: 12.03 kB / 0.9921 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.212, allocations: 483.2 kB / 0.9926 GB, free: 380 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/0.2161, allocations: 1.723 MB / 0.9942 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2162, allocations: 82.03 kB / 0.9943 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.2164, allocations: 116 kB / 0.9944 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.2194, allocations: 1.503 MB / 0.9959 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.2195, allocations: 7.938 kB / 0.9959 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2196, allocations: 44 kB / 0.9959 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.2196, allocations: 24 kB / 0.996 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.2224, allocations: 0.9836 MB / 0.9969 GB, free: 11.68 MB / 0.9636 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.01286/0.2352, allocations: 8.069 MB / 1.005 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.238, allocations: 0.6916 MB / 1.005 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.2386, allocations: 241 kB / 1.006 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.2392, allocations: 156.4 kB / 1.006 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.2392, allocations: 37.89 kB / 1.006 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 3.306e-06/0.2392, allocations: 4 kB / 1.006 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.004326/0.2436, allocations: 1.089 MB / 1.007 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.2436, allocations: 55.91 kB / 1.007 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.2467, allocations: 1.759 MB / 1.009 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.2469, allocations: 41.7 kB / 1.009 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.2479, allocations: 0.9137 MB / 1.01 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.2482, allocations: 194.5 kB / 1.01 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004711/0.2486, allocations: 260.2 kB / 1.01 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000412/0.2491, allocations: 0.5512 MB / 1.011 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.2502, allocations: 321.8 kB / 1.011 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.2521, allocations: 1.265 MB / 1.012 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.2542, allocations: 1.149 MB / 1.013 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.2542, allocations: 4 kB / 1.013 GB, free: 9.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003231/0.2575, allocations: 1.23 MB / 1.015 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.2575, allocations: 8 kB / 1.015 GB, free: 8.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/0.2575, allocations: 12 kB / 1.015 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009598/0.2585, allocations: 228 kB / 1.015 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.2593, allocations: 207.7 kB / 1.015 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.2605, allocations: 1.003 MB / 1.016 GB, free: 7.254 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.2619, allocations: 143.4 kB / 1.016 GB, free: 7.113 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.262, allocations: 59.95 kB / 1.016 GB, free: 7.055 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (101): * Single equations (assignments): 100 * 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.0008673/0.2629, allocations: 416.2 kB / 1.017 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.2632, allocations: 147.1 kB / 1.017 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.2659, allocations: 1.02 MB / 1.018 GB, free: 5.449 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.2659, allocations: 4 kB / 1.018 GB, free: 5.445 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2659, allocations: 0 / 1.018 GB, free: 5.445 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2659, allocations: 7.984 kB / 1.018 GB, free: 5.438 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/0.2719, allocations: 2.495 MB / 1.02 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.2719, allocations: 3.938 kB / 1.02 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.2723, allocations: 83.83 kB / 1.02 GB, free: 2.777 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/0.2731, allocations: 203.7 kB / 1.02 GB, free: 2.574 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.2732, allocations: 19.98 kB / 1.02 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.2751, allocations: 1.007 MB / 1.021 GB, free: 1.516 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.2751, allocations: 8 kB / 1.021 GB, free: 1.508 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/0.2797, allocations: 1.086 MB / 1.022 GB, free: 372 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.2808, allocations: 250.8 kB / 1.023 GB, free: 120 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.281, allocations: 15.98 kB / 1.023 GB, free: 104 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/0.282, allocations: 43.97 kB / 1.023 GB, free: 60 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.2821, allocations: 48.36 kB / 1.023 GB, free: 12 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.2822, allocations: 24.06 kB / 1.023 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002914/0.2851, allocations: 1.045 MB / 1.024 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2851, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003045/0.2882, allocations: 494.7 kB / 1.024 GB, free: 14.45 MB / 0.9948 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.00139/0.2896, allocations: 481.8 kB / 1.025 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003104/0.2927, allocations: 0.8251 MB / 1.026 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2927, allocations: 4 kB / 1.026 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.2942, allocations: 369.3 kB / 1.026 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.2975, allocations: 0.4929 MB / 1.026 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.3043, allocations: 2.333 MB / 1.029 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009905/0.3053, allocations: 0.5997 MB / 1.029 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001185/0.3065, allocations: 229.8 kB / 1.029 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.3068, allocations: 108.3 kB / 1.03 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of SimCode: time 2.084e-06/0.3068, allocations: 0 / 1.03 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of Templates: time 0.4937/0.8005, allocations: 25.62 MB / 1.055 GB, free: 213.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.438992139999755]