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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.031 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 496.2 MB / 0.7819 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001994/0.001994, allocations: 67.88 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347/1.349, allocations: 173.6 MB / 1.305 GB, free: 33.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07792/1.427, allocations: 71.79 MB / 1.376 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04476/1.472, allocations: 19.08 MB / 1.394 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006272/1.478, allocations: 70.59 kB / 1.394 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004557/1.483, allocations: 0.8502 MB / 1.395 GB, free: 412 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01445/1.497, allocations: 2.987 MB / 1.398 GB, free: 14.63 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.009541/1.507, allocations: 1.675 MB / 1.4 GB, free: 13.65 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.01592/1.523, allocations: 4.034 MB / 1.404 GB, free: 11.58 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005534/1.528, allocations: 1.158 MB / 1.405 GB, free: 10.93 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/1.54, allocations: 1.927 MB / 1.407 GB, free: 9.926 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004835/1.545, allocations: 1.21 MB / 1.408 GB, free: 9.363 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.001152/1.546, allocations: 176 kB / 1.408 GB, free: 9.363 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007254/1.553, allocations: 1.439 MB / 1.409 GB, free: 8.855 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/1.555, allocations: 404.2 kB / 1.41 GB, free: 8.574 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.003621/1.558, allocations: 0.916 MB / 1.411 GB, free: 7.977 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/1.57, allocations: 3.119 MB / 1.414 GB, free: 6.801 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.57, allocations: 1.031 kB / 1.414 GB, free: 6.801 MB / 1.108 GB Notification: Performance of FrontEnd: time 2.604e-06/1.57, allocations: 0 / 1.414 GB, free: 6.801 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.0001607/1.57, allocations: 4 kB / 1.414 GB, free: 6.797 MB / 1.108 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.009115/1.579, allocations: 2.087 MB / 1.416 GB, free: 5.367 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.579, allocations: 10.64 kB / 1.416 GB, free: 5.367 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/1.583, allocations: 455.8 kB / 1.416 GB, free: 5.254 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/1.588, allocations: 1.563 MB / 1.418 GB, free: 4.285 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/1.588, allocations: 78.38 kB / 1.418 GB, free: 4.25 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/1.589, allocations: 107 kB / 1.418 GB, free: 4.215 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/1.594, allocations: 1.318 MB / 1.419 GB, free: 3.508 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/1.594, allocations: 6.156 kB / 1.419 GB, free: 3.504 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/1.594, allocations: 43.36 kB / 1.419 GB, free: 3.473 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/1.594, allocations: 26.62 kB / 1.419 GB, free: 3.473 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/1.598, allocations: 1.1 MB / 1.42 GB, free: 3.07 MB / 1.108 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.0133/1.611, allocations: 7.508 MB / 1.428 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/1.615, allocations: 0.7727 MB / 1.428 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/1.615, allocations: 265.7 kB / 1.429 GB, free: 12.77 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/1.617, allocations: 1.727 MB / 1.43 GB, free: 10.76 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/1.617, allocations: 38.91 kB / 1.43 GB, free: 10.72 MB / 1.123 GB Notification: Performance of pre-optimization done (n=48): time 3.466e-06/1.617, allocations: 0 / 1.43 GB, free: 10.72 MB / 1.123 GB Notification: Performance of matching and sorting (n=48): time 0.005915/1.623, allocations: 1.345 MB / 1.432 GB, free: 10.21 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/1.623, allocations: 56.22 kB / 1.432 GB, free: 10.14 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003832/1.627, allocations: 1.545 MB / 1.433 GB, free: 9.516 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/1.627, allocations: 38.3 kB / 1.433 GB, free: 9.477 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008068/1.628, allocations: 0.6817 MB / 1.434 GB, free: 8.871 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/1.628, allocations: 184.1 kB / 1.434 GB, free: 8.711 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/1.629, allocations: 169.7 kB / 1.434 GB, free: 8.609 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.629, allocations: 336.5 kB / 1.435 GB, free: 8.281 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/1.63, allocations: 362.6 kB / 1.435 GB, free: 8.102 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/1.631, allocations: 0.6638 MB / 1.436 GB, free: 7.535 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/1.633, allocations: 0.8833 MB / 1.436 GB, free: 6.887 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.633, allocations: 6.625 kB / 1.436 GB, free: 6.883 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003772/1.637, allocations: 1.202 MB / 1.438 GB, free: 6.254 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/1.637, allocations: 15.03 kB / 1.438 GB, free: 6.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/1.637, allocations: 7.438 kB / 1.438 GB, free: 6.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/1.638, allocations: 222.2 kB / 1.438 GB, free: 6.137 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/1.639, allocations: 186.4 kB / 1.438 GB, free: 6.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/1.64, allocations: 0.7228 MB / 1.439 GB, free: 5.453 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/1.642, allocations: 218.9 kB / 1.439 GB, free: 5.328 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.642, allocations: 40.52 kB / 1.439 GB, free: 5.32 MB / 1.123 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.0008831/1.643, allocations: 363 kB / 1.439 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/1.644, allocations: 153.5 kB / 1.439 GB, free: 4.965 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/1.646, allocations: 1.13 MB / 1.441 GB, free: 4.309 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.646, allocations: 10.59 kB / 1.441 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.646, allocations: 1.594 kB / 1.441 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.646, allocations: 11.92 kB / 1.441 GB, free: 4.293 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/1.652, allocations: 2.505 MB / 1.443 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.652, allocations: 1.469 kB / 1.443 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/1.653, allocations: 85.88 kB / 1.443 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008406/1.654, allocations: 209.9 kB / 1.443 GB, free: 2.395 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/1.654, allocations: 18.92 kB / 1.443 GB, free: 2.383 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/1.655, allocations: 0.7773 MB / 1.444 GB, free: 1.719 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.912e-06/1.655, allocations: 6.453 kB / 1.444 GB, free: 1.715 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/1.659, allocations: 1.204 MB / 1.445 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.66, allocations: 362.3 kB / 1.446 GB, free: 0.668 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.66, allocations: 13.19 kB / 1.446 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008815/1.661, allocations: 69.52 kB / 1.446 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.661, allocations: 43.59 kB / 1.446 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.545e-05/1.661, allocations: 29.11 kB / 1.446 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002254/1.663, allocations: 1.083 MB / 1.447 GB, free: 4 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.663, allocations: 0 / 1.447 GB, free: 4 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.002094/1.665, allocations: 451.7 kB / 1.447 GB, free: 15.89 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.001316/1.667, allocations: 478.3 kB / 1.448 GB, free: 15.63 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002486/1.669, allocations: 0.8213 MB / 1.449 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.669, allocations: 0 / 1.449 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/1.671, allocations: 415.6 kB / 1.449 GB, free: 15.06 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/1.675, allocations: 0.7508 MB / 1.45 GB, free: 14.65 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/1.68, allocations: 2.308 MB / 1.452 GB, free: 13.25 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.681, allocations: 1.172 MB / 1.453 GB, free: 12.33 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001516/1.683, allocations: 257.9 kB / 1.453 GB, free: 12.21 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.683, allocations: 119.7 kB / 1.453 GB, free: 12.18 MB / 1.139 GB Notification: Performance of SimCode: time 1.252e-06/1.683, allocations: 0 / 1.453 GB, free: 12.18 MB / 1.139 GB Notification: Performance of Templates: time 0.06587/1.749, allocations: 32.24 MB / 1.485 GB, free: 15.77 MB / 1.17 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] 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.254128443077207]