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.001878/0.001878, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002633/0.002633, allocations: 217 kB / 22.25 MB, free: 5.082 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.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.452/3.452, allocations: 0.5096 GB / 0.8147 GB, free: 17.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002194/0.002194, allocations: 63.5 kB / 1.184 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5113, allocations: 181.4 MB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09716/0.6085, allocations: 72.1 MB / 1.432 GB, free: 7.809 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03184/0.6403, allocations: 19.12 MB / 1.451 GB, free: 4.641 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003727/0.6441, allocations: 99.12 kB / 1.451 GB, free: 4.543 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.647, allocations: 0.8501 MB / 1.451 GB, free: 3.688 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.6579, allocations: 3.052 MB / 1.454 GB, free: 0.625 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.6632, allocations: 1.713 MB / 1.456 GB, free: 14.92 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007768/0.671, allocations: 4.072 MB / 1.46 GB, free: 10.83 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.6735, allocations: 1.161 MB / 1.461 GB, free: 9.637 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006023/0.6795, allocations: 1.975 MB / 1.463 GB, free: 7.656 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.6826, allocations: 1.21 MB / 1.464 GB, free: 6.441 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006331/0.6833, allocations: 176 kB / 1.464 GB, free: 6.27 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.6877, allocations: 1.497 MB / 1.466 GB, free: 4.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007296/0.6885, allocations: 402.5 kB / 1.466 GB, free: 4.375 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.6907, allocations: 0.9215 MB / 1.467 GB, free: 3.449 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007029/0.6977, allocations: 3.154 MB / 1.47 GB, free: 292 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.6977, allocations: 8 kB / 1.47 GB, free: 284 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6977, allocations: 0 / 1.47 GB, free: 284 kB / 1.154 GB Notification: Performance of Transformations before backend: time 9.696e-05/0.6978, allocations: 0 / 1.47 GB, free: 284 kB / 1.154 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.005188/0.703, allocations: 2.008 MB / 1.472 GB, free: 14.22 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.7031, allocations: 8.031 kB / 1.472 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.7054, allocations: 462.7 kB / 1.473 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.7087, allocations: 1.519 MB / 1.474 GB, free: 12.19 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/0.7088, allocations: 82.03 kB / 1.474 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.7089, allocations: 100 kB / 1.474 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.7116, allocations: 1.313 MB / 1.476 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.7117, allocations: 3.938 kB / 1.476 GB, free: 10.58 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.7118, allocations: 48 kB / 1.476 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.7118, allocations: 31.94 kB / 1.476 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.7146, allocations: 1.093 MB / 1.477 GB, free: 9.41 MB / 1.17 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.0106/0.7252, allocations: 7.393 MB / 1.484 GB, free: 1.527 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.7284, allocations: 0.7705 MB / 1.485 GB, free: 0.75 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.7291, allocations: 266 kB / 1.485 GB, free: 500 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/0.7296, allocations: 164.2 kB / 1.485 GB, free: 332 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.7297, allocations: 39 kB / 1.485 GB, free: 284 kB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.494e-06/0.7297, allocations: 4 kB / 1.485 GB, free: 280 kB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.004888/0.7345, allocations: 1.26 MB / 1.486 GB, free: 15 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7346, allocations: 55.84 kB / 1.487 GB, free: 14.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.7371, allocations: 1.558 MB / 1.488 GB, free: 13.37 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.7372, allocations: 37.7 kB / 1.488 GB, free: 13.33 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.7379, allocations: 0.6896 MB / 1.489 GB, free: 12.63 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.7381, allocations: 178.5 kB / 1.489 GB, free: 12.46 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.7384, allocations: 170.5 kB / 1.489 GB, free: 12.28 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7386, allocations: 333.9 kB / 1.489 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.7396, allocations: 373.8 kB / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.7411, allocations: 0.6543 MB / 1.49 GB, free: 10.8 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.743, allocations: 0.8936 MB / 1.491 GB, free: 9.797 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.743, allocations: 0 / 1.491 GB, free: 9.797 MB / 1.186 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00307/0.746, allocations: 1.2 MB / 1.492 GB, free: 8.59 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.7461, allocations: 8 kB / 1.492 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.7461, allocations: 11.94 kB / 1.492 GB, free: 8.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009319/0.747, allocations: 220.6 kB / 1.493 GB, free: 8.352 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.7479, allocations: 195.7 kB / 1.493 GB, free: 8.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009949/0.7488, allocations: 0.7162 MB / 1.494 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.7504, allocations: 215 kB / 1.494 GB, free: 7.207 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.7505, allocations: 43.98 kB / 1.494 GB, free: 7.164 MB / 1.186 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.0006337/0.7511, allocations: 361.6 kB / 1.494 GB, free: 6.801 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.7514, allocations: 159 kB / 1.494 GB, free: 6.645 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.7539, allocations: 1.155 MB / 1.495 GB, free: 5.477 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/0.754, allocations: 12 kB / 1.495 GB, free: 5.465 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.754, allocations: 0 / 1.495 GB, free: 5.465 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.754, allocations: 3.984 kB / 1.495 GB, free: 5.461 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.7596, allocations: 2.507 MB / 1.498 GB, free: 2.883 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.7596, allocations: 4 kB / 1.498 GB, free: 2.879 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.76, allocations: 79.88 kB / 1.498 GB, free: 2.801 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000835/0.7608, allocations: 220.8 kB / 1.498 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.7608, allocations: 15.98 kB / 1.498 GB, free: 2.566 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.7622, allocations: 0.7669 MB / 1.499 GB, free: 1.773 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7622, allocations: 192 / 1.499 GB, free: 1.773 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.7657, allocations: 1.226 MB / 1.5 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/0.7664, allocations: 278.6 kB / 1.5 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.7666, allocations: 19.98 kB / 1.5 GB, free: 220 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/0.7675, allocations: 75.86 kB / 1.5 GB, free: 144 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.7676, allocations: 52.36 kB / 1.501 GB, free: 92 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.7677, allocations: 23.98 kB / 1.501 GB, free: 68 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001982/0.7696, allocations: 1.09 MB / 1.502 GB, free: 14.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7696, allocations: 0 / 1.502 GB, free: 14.98 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001553/0.7712, allocations: 451.1 kB / 1.502 GB, free: 14.54 MB / 1.201 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.0008968/0.7721, allocations: 466.2 kB / 1.502 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.7744, allocations: 0.828 MB / 1.503 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7744, allocations: 0 / 1.503 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.7758, allocations: 428 kB / 1.504 GB, free: 12.83 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.7788, allocations: 0.7328 MB / 1.504 GB, free: 12.11 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.7834, allocations: 2.309 MB / 1.507 GB, free: 9.742 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009743/0.7843, allocations: 1.176 MB / 1.508 GB, free: 8.531 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009268/0.7853, allocations: 264.2 kB / 1.508 GB, free: 8.27 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.7856, allocations: 115.4 kB / 1.508 GB, free: 8.156 MB / 1.201 GB Notification: Performance of SimCode: time 6.21e-07/0.7856, allocations: 0 / 1.508 GB, free: 8.156 MB / 1.201 GB Notification: Performance of Templates: time 0.06564/0.8512, allocations: 32.52 MB / 1.54 GB, free: 7.973 MB / 1.232 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: 11.607770337257534]