Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001526/0.001526, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.002171/0.002171, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.946/2.946, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003266/0.003266, allocations: 67.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323/1.327, allocations: 176.1 MB / 1.322 GB, free: 25.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07594/1.403, allocations: 71.42 MB / 1.392 GB, free: 6.082 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03093/1.434, allocations: 19.02 MB / 1.41 GB, free: 8.41 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/1.437, allocations: 95.78 kB / 1.41 GB, free: 8.359 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00293/1.44, allocations: 0.8459 MB / 1.411 GB, free: 7.816 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/1.451, allocations: 2.998 MB / 1.414 GB, free: 6.035 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005638/1.457, allocations: 1.661 MB / 1.416 GB, free: 5.07 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007917/1.464, allocations: 4.019 MB / 1.42 GB, free: 3.016 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/1.467, allocations: 1.182 MB / 1.421 GB, free: 2.352 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/1.473, allocations: 1.953 MB / 1.423 GB, free: 1.348 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/1.476, allocations: 1.218 MB / 1.424 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004089/1.476, allocations: 175.4 kB / 1.424 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/1.48, allocations: 1.464 MB / 1.425 GB, free: 272 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005792/1.481, allocations: 399.5 kB / 1.426 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/1.483, allocations: 0.9243 MB / 1.427 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006979/1.49, allocations: 3.153 MB / 1.43 GB, free: 14.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.49, allocations: 3.969 kB / 1.43 GB, free: 14.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.393e-06/1.49, allocations: 0 / 1.43 GB, free: 14.2 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.3e-05/1.49, allocations: 1.219 kB / 1.43 GB, free: 14.2 MB / 1.123 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.004995/1.495, allocations: 2.092 MB / 1.432 GB, free: 12.76 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.495, allocations: 13.33 kB / 1.432 GB, free: 12.76 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/1.497, allocations: 457 kB / 1.432 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/1.501, allocations: 1.577 MB / 1.434 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.63e-05/1.501, allocations: 82.41 kB / 1.434 GB, free: 11.36 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/1.501, allocations: 102.1 kB / 1.434 GB, free: 11.32 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/1.505, allocations: 1.311 MB / 1.435 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/1.505, allocations: 6.375 kB / 1.435 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.505, allocations: 42.59 kB / 1.435 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/1.505, allocations: 25.94 kB / 1.435 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/1.508, allocations: 1.099 MB / 1.436 GB, free: 9.82 MB / 1.123 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.01079/1.519, allocations: 7.521 MB / 1.444 GB, free: 2.914 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/1.522, allocations: 0.7796 MB / 1.445 GB, free: 2.496 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/1.522, allocations: 265 kB / 1.445 GB, free: 2.359 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/1.524, allocations: 1.722 MB / 1.447 GB, free: 336 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.524, allocations: 37.34 kB / 1.447 GB, free: 292 kB / 1.123 GB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/1.524, allocations: 0 / 1.447 GB, free: 292 kB / 1.123 GB Notification: Performance of matching and sorting (n=48): time 0.005253/1.529, allocations: 1.344 MB / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.529, allocations: 56.56 kB / 1.448 GB, free: 15.47 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/1.532, allocations: 1.549 MB / 1.449 GB, free: 14.63 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/1.532, allocations: 41.67 kB / 1.449 GB, free: 14.59 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/1.533, allocations: 0.6893 MB / 1.45 GB, free: 13.97 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/1.533, allocations: 172.9 kB / 1.45 GB, free: 13.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/1.534, allocations: 177.8 kB / 1.45 GB, free: 13.71 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.534, allocations: 331.8 kB / 1.451 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/1.535, allocations: 363.5 kB / 1.451 GB, free: 13.21 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/1.536, allocations: 0.6663 MB / 1.452 GB, free: 12.64 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.538, allocations: 0.8906 MB / 1.453 GB, free: 11.99 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.538, allocations: 6.312 kB / 1.453 GB, free: 11.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00347/1.542, allocations: 1.191 MB / 1.454 GB, free: 11.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.542, allocations: 12.12 kB / 1.454 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.542, allocations: 7.719 kB / 1.454 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/1.543, allocations: 219.4 kB / 1.454 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/1.544, allocations: 193.4 kB / 1.454 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009975/1.545, allocations: 0.723 MB / 1.455 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.546, allocations: 215.2 kB / 1.455 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.546, allocations: 48.56 kB / 1.455 GB, free: 10.42 MB / 1.139 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.0007454/1.547, allocations: 360.9 kB / 1.456 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/1.548, allocations: 154 kB / 1.456 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/1.55, allocations: 1.138 MB / 1.457 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/1.55, allocations: 14.55 kB / 1.457 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.55, allocations: 4 kB / 1.457 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/1.55, allocations: 1.125 kB / 1.457 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/1.556, allocations: 2.516 MB / 1.459 GB, free: 7.625 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.556, allocations: 2.656 kB / 1.459 GB, free: 7.625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/1.557, allocations: 84.88 kB / 1.459 GB, free: 7.602 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008299/1.557, allocations: 218.7 kB / 1.46 GB, free: 7.484 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/1.557, allocations: 18.55 kB / 1.46 GB, free: 7.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/1.559, allocations: 0.7702 MB / 1.46 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.559, allocations: 1.344 kB / 1.46 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/1.563, allocations: 1.212 MB / 1.462 GB, free: 6.082 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/1.563, allocations: 358.8 kB / 1.462 GB, free: 5.766 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/1.564, allocations: 12.88 kB / 1.462 GB, free: 5.758 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/1.565, allocations: 73.94 kB / 1.462 GB, free: 5.723 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.565, allocations: 43.89 kB / 1.462 GB, free: 5.695 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/1.565, allocations: 29.66 kB / 1.462 GB, free: 5.684 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002129/1.567, allocations: 1.085 MB / 1.463 GB, free: 5.094 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.567, allocations: 4 kB / 1.463 GB, free: 5.09 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001713/1.569, allocations: 449.8 kB / 1.464 GB, free: 4.984 MB / 1.139 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.001042/1.57, allocations: 464.5 kB / 1.464 GB, free: 4.723 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002374/1.572, allocations: 0.8239 MB / 1.465 GB, free: 4.34 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.572, allocations: 1.5 kB / 1.465 GB, free: 4.34 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00142/1.573, allocations: 415.1 kB / 1.465 GB, free: 4.148 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/1.577, allocations: 0.7386 MB / 1.466 GB, free: 3.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/1.582, allocations: 2.341 MB / 1.468 GB, free: 2.109 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009544/1.583, allocations: 1.161 MB / 1.469 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/1.583, allocations: 123.4 kB / 1.469 GB, free: 0.793 MB / 1.139 GB Notification: Performance of SimCode: time 8.52e-07/1.583, allocations: 0 / 1.469 GB, free: 0.793 MB / 1.139 GB Notification: Performance of Templates: time 0.05204/1.635, allocations: 34.42 MB / 1.503 GB, free: 14.58 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.162714135993156]