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.00169/0.00169, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002152/0.002152, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.309/3.309, allocations: 0.5107 GB / 0.8166 GB, free: 17.76 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.00212/0.00212, allocations: 63.44 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07742/0.4316, allocations: 65.18 MB / 1.428 GB, free: 12.15 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02758/0.4592, allocations: 17.56 MB / 1.445 GB, free: 10.54 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.4618, allocations: 99.12 kB / 1.445 GB, free: 10.44 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002867/0.4646, allocations: 0.8229 MB / 1.446 GB, free: 9.613 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.4734, allocations: 3.018 MB / 1.449 GB, free: 6.582 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.478, allocations: 1.687 MB / 1.451 GB, free: 4.902 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006377/0.4844, allocations: 4.063 MB / 1.455 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.4866, allocations: 1.134 MB / 1.456 GB, free: 15.66 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.4916, allocations: 1.995 MB / 1.458 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.4939, allocations: 1.136 MB / 1.459 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.4943, allocations: 175.9 kB / 1.459 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.4972, allocations: 1.162 MB / 1.46 GB, free: 11.18 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.4977, allocations: 398.5 kB / 1.461 GB, free: 10.79 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.4987, allocations: 0.7155 MB / 1.461 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.5037, allocations: 3.099 MB / 1.464 GB, free: 6.965 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.5037, allocations: 7.938 kB / 1.464 GB, free: 6.957 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5037, allocations: 0 / 1.464 GB, free: 6.957 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.967e-05/0.5037, allocations: 3.984 kB / 1.464 GB, free: 6.953 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.004012/0.5077, allocations: 2.011 MB / 1.466 GB, free: 4.895 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5078, allocations: 8.031 kB / 1.466 GB, free: 4.887 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.5101, allocations: 458.8 kB / 1.467 GB, free: 4.438 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.5133, allocations: 1.523 MB / 1.468 GB, free: 2.863 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/0.5134, allocations: 82.03 kB / 1.468 GB, free: 2.781 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.5136, allocations: 104 kB / 1.469 GB, free: 2.68 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.5165, allocations: 1.413 MB / 1.47 GB, free: 1.133 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.5165, allocations: 0 / 1.47 GB, free: 1.133 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5166, allocations: 44 kB / 1.47 GB, free: 1.09 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.5166, allocations: 31.94 kB / 1.47 GB, free: 1.059 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.5195, allocations: 1.101 MB / 1.471 GB, free: 15.95 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.00884/0.5284, allocations: 5.39 MB / 1.476 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.5316, allocations: 0.771 MB / 1.477 GB, free: 9.641 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006648/0.5323, allocations: 269.8 kB / 1.477 GB, free: 9.375 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.5329, allocations: 160.3 kB / 1.477 GB, free: 9.219 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.5329, allocations: 46.94 kB / 1.478 GB, free: 9.164 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.474e-06/0.5329, allocations: 0 / 1.478 GB, free: 9.164 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.005059/0.538, allocations: 1.233 MB / 1.479 GB, free: 7.922 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.538, allocations: 59.84 kB / 1.479 GB, free: 7.852 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.5402, allocations: 1.228 MB / 1.48 GB, free: 6.613 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/0.5403, allocations: 37.7 kB / 1.48 GB, free: 6.57 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000681/0.541, allocations: 0.711 MB / 1.481 GB, free: 5.852 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.5412, allocations: 170.5 kB / 1.481 GB, free: 5.684 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.5415, allocations: 182.5 kB / 1.481 GB, free: 5.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.5417, allocations: 337.9 kB / 1.481 GB, free: 5.164 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.5427, allocations: 365.8 kB / 1.482 GB, free: 4.805 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.5443, allocations: 0.9884 MB / 1.483 GB, free: 3.613 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.5463, allocations: 0.8858 MB / 1.484 GB, free: 2.617 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.5463, allocations: 4 kB / 1.484 GB, free: 2.613 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003211/0.5495, allocations: 1.162 MB / 1.485 GB, free: 1.441 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.5496, allocations: 8 kB / 1.485 GB, free: 1.434 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.5496, allocations: 8.031 kB / 1.485 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.5505, allocations: 228.5 kB / 1.485 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.5513, allocations: 191.7 kB / 1.485 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.5523, allocations: 0.7201 MB / 1.486 GB, free: 272 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.5537, allocations: 175.4 kB / 1.486 GB, free: 96 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.5538, allocations: 40.08 kB / 1.486 GB, free: 56 kB / 1.17 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.0006963/0.5545, allocations: 361.5 kB / 1.486 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.5548, allocations: 123.2 kB / 1.486 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.5574, allocations: 1.138 MB / 1.488 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.5574, allocations: 15.98 kB / 1.488 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5574, allocations: 4 kB / 1.488 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.5574, allocations: 3.984 kB / 1.488 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/0.5629, allocations: 2.181 MB / 1.49 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.5629, allocations: 0 / 1.49 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.5633, allocations: 91.81 kB / 1.49 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008134/0.5641, allocations: 212.8 kB / 1.49 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.5642, allocations: 19.98 kB / 1.49 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.5656, allocations: 0.7709 MB / 1.491 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5656, allocations: 3.938 kB / 1.491 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.5694, allocations: 1.19 MB / 1.492 GB, free: 9.812 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/0.5701, allocations: 246.8 kB / 1.492 GB, free: 9.57 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.5702, allocations: 19.92 kB / 1.492 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.571, allocations: 63.92 kB / 1.492 GB, free: 9.488 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5711, allocations: 48.42 kB / 1.492 GB, free: 9.441 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.5712, allocations: 23.98 kB / 1.492 GB, free: 9.418 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00162/0.5728, allocations: 0.8551 MB / 1.493 GB, free: 8.559 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5728, allocations: 0 / 1.493 GB, free: 8.559 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001504/0.5743, allocations: 482.7 kB / 1.494 GB, free: 8.086 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.0008759/0.5752, allocations: 453 kB / 1.494 GB, free: 7.637 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002315/0.5775, allocations: 0.8286 MB / 1.495 GB, free: 6.809 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5775, allocations: 4 kB / 1.495 GB, free: 6.805 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.5789, allocations: 427.3 kB / 1.495 GB, free: 6.391 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.581, allocations: 475.4 kB / 1.496 GB, free: 5.941 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.5855, allocations: 2.296 MB / 1.498 GB, free: 3.582 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.5862, allocations: 0.576 MB / 1.499 GB, free: 2.973 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.5866, allocations: 99.41 kB / 1.499 GB, free: 2.875 MB / 1.186 GB Notification: Performance of SimCode: time 1.182e-06/0.5866, allocations: 4 kB / 1.499 GB, free: 2.871 MB / 1.186 GB Notification: Performance of Templates: time 0.04611/0.6327, allocations: 31.52 MB / 1.529 GB, free: 3.508 MB / 1.217 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: 15.140967970248312]