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.001981/0.001981, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002866/0.002866, allocations: 168.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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.564/1.564, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.076/3.076, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.073e-06/2.073e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.506e-05/3.713e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08025/0.08029, allocations: 64.62 MB / 1.063 GB, free: 6.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.029/0.1093, allocations: 17.5 MB / 1.08 GB, free: 4.883 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.1135, allocations: 91.19 kB / 1.08 GB, free: 4.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.1163, allocations: 0.846 MB / 1.081 GB, free: 3.941 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.1269, allocations: 3.087 MB / 1.084 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/0.1326, allocations: 1.765 MB / 1.086 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007306/0.1399, allocations: 4.029 MB / 1.09 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.1419, allocations: 1.096 MB / 1.091 GB, free: 9.906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006033/0.148, allocations: 2.543 MB / 1.093 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.1499, allocations: 1.005 MB / 1.094 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.1502, allocations: 176 kB / 1.095 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.1534, allocations: 1.161 MB / 1.096 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004428/0.1538, allocations: 410.4 kB / 1.096 GB, free: 4.609 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009261/0.1548, allocations: 0.6079 MB / 1.097 GB, free: 4 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.1598, allocations: 3.144 MB / 1.1 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1598, allocations: 4 kB / 1.1 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1598, allocations: 0 / 1.1 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.1598, allocations: 0 / 1.1 GB, free: 0.8438 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.003777/0.1636, allocations: 1.984 MB / 1.102 GB, free: 14.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1636, allocations: 12.02 kB / 1.102 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.166, allocations: 454.7 kB / 1.102 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/0.169, allocations: 1.515 MB / 1.104 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.1691, allocations: 82.03 kB / 1.104 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.1693, allocations: 104 kB / 1.104 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.1722, allocations: 1.414 MB / 1.105 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.1722, allocations: 7.938 kB / 1.105 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.1723, allocations: 47.98 kB / 1.105 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.1723, allocations: 24 kB / 1.105 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.1752, allocations: 1.097 MB / 1.106 GB, free: 9.879 MB / 1.061 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.008537/0.1838, allocations: 5.379 MB / 1.112 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.1871, allocations: 0.7673 MB / 1.112 GB, free: 3.582 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/0.1877, allocations: 274.2 kB / 1.113 GB, free: 3.312 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/0.1883, allocations: 148.4 kB / 1.113 GB, free: 3.168 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.1884, allocations: 39.06 kB / 1.113 GB, free: 3.121 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 3.096e-06/0.1884, allocations: 3.938 kB / 1.113 GB, free: 3.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.005136/0.1935, allocations: 1.235 MB / 1.114 GB, free: 1.875 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1936, allocations: 59.91 kB / 1.114 GB, free: 1.805 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.1961, allocations: 1.228 MB / 1.115 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.1962, allocations: 37.7 kB / 1.115 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.1972, allocations: 0.7072 MB / 1.116 GB, free: 15.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.1974, allocations: 174.5 kB / 1.116 GB, free: 15.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.1978, allocations: 170.5 kB / 1.116 GB, free: 15.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002966/0.1981, allocations: 337.9 kB / 1.117 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.1992, allocations: 365.7 kB / 1.117 GB, free: 14.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.2009, allocations: 0.9845 MB / 1.118 GB, free: 13.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.2029, allocations: 0.8938 MB / 1.119 GB, free: 12.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.2029, allocations: 4 kB / 1.119 GB, free: 12.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004276/0.2072, allocations: 1.169 MB / 1.12 GB, free: 11.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.2073, allocations: 9.875 kB / 1.12 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.2073, allocations: 8 kB / 1.12 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.2085, allocations: 220.6 kB / 1.12 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.2097, allocations: 195.7 kB / 1.12 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.2112, allocations: 0.724 MB / 1.121 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.2134, allocations: 171.4 kB / 1.121 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.2136, allocations: 47.97 kB / 1.121 GB, free: 9.996 MB / 1.076 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.001024/0.2146, allocations: 350.1 kB / 1.122 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/0.2151, allocations: 127.2 kB / 1.122 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.2191, allocations: 1.137 MB / 1.123 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/0.2191, allocations: 11.98 kB / 1.123 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2191, allocations: 0 / 1.123 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.2191, allocations: 0 / 1.123 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008463/0.2276, allocations: 2.192 MB / 1.125 GB, free: 6.105 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.2276, allocations: 3.938 kB / 1.125 GB, free: 6.102 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.2283, allocations: 87.88 kB / 1.125 GB, free: 6.016 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.2296, allocations: 216.7 kB / 1.125 GB, free: 5.801 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/0.2297, allocations: 16 kB / 1.125 GB, free: 5.785 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.232, allocations: 0.7787 MB / 1.126 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.232, allocations: 0 / 1.126 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/0.2382, allocations: 1.186 MB / 1.127 GB, free: 3.758 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.2393, allocations: 242.8 kB / 1.127 GB, free: 3.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.2396, allocations: 12 kB / 1.127 GB, free: 3.508 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.2411, allocations: 67.92 kB / 1.128 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.2412, allocations: 52.3 kB / 1.128 GB, free: 3.391 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.2413, allocations: 27.98 kB / 1.128 GB, free: 3.363 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002999/0.2443, allocations: 0.851 MB / 1.128 GB, free: 2.508 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2443, allocations: 0 / 1.128 GB, free: 2.508 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002602/0.2469, allocations: 482.7 kB / 1.129 GB, free: 2.035 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.001783/0.2487, allocations: 474.2 kB / 1.129 GB, free: 1.562 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004607/0.2533, allocations: 0.8325 MB / 1.13 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.2533, allocations: 0 / 1.13 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/0.2562, allocations: 423.3 kB / 1.131 GB, free: 328 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.7109/0.9671, allocations: 442.8 kB / 1.131 GB, free: 169.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.9717, allocations: 2.222 MB / 1.133 GB, free: 168.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.9722, allocations: 0.5842 MB / 1.134 GB, free: 168.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000836/0.9731, allocations: 221.6 kB / 1.134 GB, free: 168.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.9733, allocations: 101.5 kB / 1.134 GB, free: 168.7 MB / 1.076 GB Notification: Performance of SimCode: time 1.553e-06/0.9733, allocations: 2.781 kB / 1.134 GB, free: 168.7 MB / 1.076 GB Notification: Performance of Templates: time 0.04728/1.021, allocations: 24.6 MB / 1.158 GB, free: 165.7 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 800] 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.96103922650218]