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.001706/0.001706, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002132/0.002132, allocations: 212.7 kB / 23 MB, free: 4.566 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.374/3.374, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.002309/0.002309, allocations: 69.92 kB / 1.178 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3641, allocations: 180.2 MB / 1.354 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07951/0.4436, allocations: 72.1 MB / 1.424 GB, free: 15.69 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0274/0.471, allocations: 19.1 MB / 1.443 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.474, allocations: 95.19 kB / 1.443 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.477, allocations: 0.8541 MB / 1.444 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008891/0.4859, allocations: 3.05 MB / 1.447 GB, free: 8.523 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.4907, allocations: 1.717 MB / 1.449 GB, free: 6.816 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006649/0.4973, allocations: 4.079 MB / 1.453 GB, free: 2.727 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.4996, allocations: 1.149 MB / 1.454 GB, free: 1.531 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.505, allocations: 1.986 MB / 1.456 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.5076, allocations: 1.218 MB / 1.457 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.5079, allocations: 180 kB / 1.457 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.5114, allocations: 1.482 MB / 1.459 GB, free: 12.66 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004734/0.5119, allocations: 402.4 kB / 1.459 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.5132, allocations: 0.9254 MB / 1.46 GB, free: 11.33 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005341/0.5186, allocations: 3.154 MB / 1.463 GB, free: 8.168 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5186, allocations: 0 / 1.463 GB, free: 8.168 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5186, allocations: 0 / 1.463 GB, free: 8.168 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.765e-05/0.5186, allocations: 0 / 1.463 GB, free: 8.168 MB / 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.00406/0.5227, allocations: 2.015 MB / 1.465 GB, free: 6.105 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5227, allocations: 12.03 kB / 1.465 GB, free: 6.094 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.5251, allocations: 454.7 kB / 1.465 GB, free: 5.648 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.5284, allocations: 1.516 MB / 1.467 GB, free: 4.086 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/0.5285, allocations: 78.03 kB / 1.467 GB, free: 4.008 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.5286, allocations: 111.9 kB / 1.467 GB, free: 3.898 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.5314, allocations: 1.313 MB / 1.468 GB, free: 2.477 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.5314, allocations: 7.938 kB / 1.468 GB, free: 2.469 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5315, allocations: 44 kB / 1.468 GB, free: 2.426 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.5315, allocations: 27.94 kB / 1.468 GB, free: 2.398 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.5342, allocations: 1.101 MB / 1.469 GB, free: 1.293 MB / 1.154 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.0102/0.5444, allocations: 7.393 MB / 1.477 GB, free: 9.406 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.5476, allocations: 0.7644 MB / 1.477 GB, free: 8.637 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.5483, allocations: 274 kB / 1.478 GB, free: 8.363 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.5488, allocations: 164.2 kB / 1.478 GB, free: 8.203 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.5489, allocations: 43 kB / 1.478 GB, free: 8.152 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 3.076e-06/0.5489, allocations: 0 / 1.478 GB, free: 8.152 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.004932/0.5538, allocations: 1.26 MB / 1.479 GB, free: 6.883 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.5539, allocations: 55.84 kB / 1.479 GB, free: 6.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.5566, allocations: 1.55 MB / 1.481 GB, free: 5.258 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.5567, allocations: 37.7 kB / 1.481 GB, free: 5.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/0.5574, allocations: 0.6974 MB / 1.481 GB, free: 4.512 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.5577, allocations: 178.5 kB / 1.482 GB, free: 4.336 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.558, allocations: 170.5 kB / 1.482 GB, free: 4.164 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5581, allocations: 341.9 kB / 1.482 GB, free: 3.824 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.5591, allocations: 361.8 kB / 1.482 GB, free: 3.473 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.5605, allocations: 0.6621 MB / 1.483 GB, free: 2.684 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.5624, allocations: 0.8897 MB / 1.484 GB, free: 1.68 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5624, allocations: 4 kB / 1.484 GB, free: 1.676 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003289/0.5657, allocations: 1.193 MB / 1.485 GB, free: 488 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.5657, allocations: 9.875 kB / 1.485 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.5657, allocations: 8 kB / 1.485 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009466/0.5667, allocations: 224.6 kB / 1.485 GB, free: 244 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/0.5675, allocations: 191.7 kB / 1.485 GB, free: 52 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.5685, allocations: 0.7279 MB / 1.486 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.5702, allocations: 211 kB / 1.486 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.5703, allocations: 43.98 kB / 1.486 GB, free: 15.05 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.0006935/0.571, allocations: 361.5 kB / 1.487 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.5714, allocations: 159 kB / 1.487 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.574, allocations: 1.156 MB / 1.488 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.574, allocations: 7.984 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.574, allocations: 4 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.574, allocations: 3.984 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/0.5799, allocations: 2.503 MB / 1.491 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5799, allocations: 0 / 1.491 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.5803, allocations: 87.88 kB / 1.491 GB, free: 10.67 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008393/0.5811, allocations: 208.8 kB / 1.491 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.5812, allocations: 16 kB / 1.491 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.5825, allocations: 0.7746 MB / 1.492 GB, free: 9.645 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5825, allocations: 4.031 kB / 1.492 GB, free: 9.641 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.5862, allocations: 1.226 MB / 1.493 GB, free: 8.375 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007991/0.587, allocations: 278.7 kB / 1.493 GB, free: 8.102 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.5872, allocations: 12 kB / 1.493 GB, free: 8.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.5881, allocations: 75.84 kB / 1.493 GB, free: 8.016 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5882, allocations: 40.42 kB / 1.493 GB, free: 7.977 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.5883, allocations: 27.98 kB / 1.493 GB, free: 7.949 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001941/0.5902, allocations: 1.094 MB / 1.494 GB, free: 6.859 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5902, allocations: 0 / 1.494 GB, free: 6.859 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0014/0.5916, allocations: 451.1 kB / 1.495 GB, free: 6.418 MB / 1.186 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.0008225/0.5924, allocations: 462.1 kB / 1.495 GB, free: 5.957 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002302/0.5947, allocations: 0.8327 MB / 1.496 GB, free: 5.125 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5947, allocations: 192 / 1.496 GB, free: 5.125 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5961, allocations: 423.2 kB / 1.496 GB, free: 4.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.5995, allocations: 0.7331 MB / 1.497 GB, free: 3.992 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.6041, allocations: 2.351 MB / 1.499 GB, free: 1.578 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.6049, allocations: 1.165 MB / 1.501 GB, free: 392 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.6054, allocations: 131.3 kB / 1.501 GB, free: 260 kB / 1.186 GB Notification: Performance of SimCode: time 6.91e-07/0.6054, allocations: 0 / 1.501 GB, free: 260 kB / 1.186 GB Notification: Performance of Templates: time 0.05064/0.656, allocations: 34.41 MB / 1.534 GB, free: 14.02 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/jenkins1/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: 16.173118915990926]