Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002248/0.002248, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002734/0.002734, allocations: 159.8 kB / 22.46 MB, free: 5.375 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.738/1.738, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.856/2.856, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.649e-05, allocations: 6.281 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08528/0.08532, allocations: 64.56 MB / 1.014 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03179/0.1171, allocations: 17.55 MB / 1.031 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/0.1215, allocations: 99.12 kB / 1.031 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003064/0.1246, allocations: 0.8382 MB / 1.032 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.1354, allocations: 3.116 MB / 1.035 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.1412, allocations: 1.769 MB / 1.037 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007516/0.1487, allocations: 4.093 MB / 1.041 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.1515, allocations: 1.145 MB / 1.042 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007101/0.1586, allocations: 2.421 MB / 1.044 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.1616, allocations: 1.04 MB / 1.045 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006571/0.1623, allocations: 176 kB / 1.045 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/0.1661, allocations: 1.177 MB / 1.047 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000735/0.1668, allocations: 402.4 kB / 1.047 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.1686, allocations: 0.6118 MB / 1.048 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.1755, allocations: 3.147 MB / 1.051 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1755, allocations: 0 / 1.051 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1755, allocations: 0 / 1.051 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.598e-05/0.1756, allocations: 0 / 1.051 GB, free: 5.109 MB / 0.9512 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.005478/0.1811, allocations: 2 MB / 1.053 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.1812, allocations: 8.031 kB / 1.053 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.1837, allocations: 455.4 kB / 1.053 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.1875, allocations: 1.539 MB / 1.055 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1876, allocations: 82.03 kB / 1.055 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.1878, allocations: 104 kB / 1.055 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.1911, allocations: 1.417 MB / 1.056 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.1911, allocations: 3.938 kB / 1.056 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.1912, allocations: 44 kB / 1.056 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.1912, allocations: 24 kB / 1.056 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/0.1942, allocations: 1.093 MB / 1.057 GB, free: 14.12 MB / 0.9669 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.01008/0.2043, allocations: 5.402 MB / 1.063 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.2078, allocations: 0.7729 MB / 1.063 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.2085, allocations: 262.2 kB / 1.064 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/0.2091, allocations: 152.4 kB / 1.064 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.2092, allocations: 46.94 kB / 1.064 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/0.2092, allocations: 0 / 1.064 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.005147/0.2143, allocations: 1.25 MB / 1.065 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.2144, allocations: 55.91 kB / 1.065 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.217, allocations: 1.229 MB / 1.066 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.2172, allocations: 37.7 kB / 1.066 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008598/0.218, allocations: 0.711 MB / 1.067 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.2183, allocations: 178.5 kB / 1.067 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/0.2187, allocations: 170.5 kB / 1.067 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2189, allocations: 334 kB / 1.068 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.22, allocations: 365.8 kB / 1.068 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.2216, allocations: 0.9886 MB / 1.069 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.2237, allocations: 0.8783 MB / 1.07 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.2237, allocations: 4 kB / 1.07 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00346/0.2272, allocations: 1.177 MB / 1.071 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.2272, allocations: 8 kB / 1.071 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.2272, allocations: 12.03 kB / 1.071 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.2282, allocations: 216.6 kB / 1.071 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/0.2291, allocations: 187.7 kB / 1.071 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.2302, allocations: 0.7201 MB / 1.072 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.2317, allocations: 175.4 kB / 1.072 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.2318, allocations: 47.92 kB / 1.072 GB, free: 14.21 MB / 0.9825 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.0008954/0.2327, allocations: 361.6 kB / 1.073 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.233, allocations: 127.1 kB / 1.073 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.2358, allocations: 1.138 MB / 1.074 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/0.2358, allocations: 4 kB / 1.074 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.2358, allocations: 7.938 kB / 1.074 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.2358, allocations: 3.984 kB / 1.074 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005741/0.2416, allocations: 2.181 MB / 1.076 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.2416, allocations: 96 / 1.076 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.242, allocations: 91.81 kB / 1.076 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008316/0.2428, allocations: 212.7 kB / 1.076 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.2429, allocations: 19.98 kB / 1.076 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.2444, allocations: 0.7709 MB / 1.077 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2444, allocations: 3.938 kB / 1.077 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.2481, allocations: 1.194 MB / 1.078 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.2487, allocations: 242.9 kB / 1.078 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.2489, allocations: 15.95 kB / 1.078 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/0.2497, allocations: 67.92 kB / 1.079 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.2498, allocations: 44.36 kB / 1.079 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.2498, allocations: 23.98 kB / 1.079 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001675/0.2515, allocations: 0.8592 MB / 1.079 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2515, allocations: 0 / 1.079 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001684/0.2532, allocations: 478.7 kB / 1.08 GB, free: 6.246 MB / 0.9825 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.001043/0.2542, allocations: 481.9 kB / 1.08 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.2567, allocations: 0.8281 MB / 1.081 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.2567, allocations: 4 kB / 1.081 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.2581, allocations: 423.9 kB / 1.082 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.2602, allocations: 465.1 kB / 1.082 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.2648, allocations: 2.245 MB / 1.084 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.2655, allocations: 0.5864 MB / 1.085 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008256/0.2664, allocations: 232.5 kB / 1.085 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.2666, allocations: 100.5 kB / 1.085 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/0.2666, allocations: 0 / 1.085 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of Templates: time 0.6563/0.923, allocations: 24.97 MB / 1.109 GB, free: 150 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.621298484504223]