Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001981/0.001981, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002544/0.002544, allocations: 215.1 kB / 22.25 MB, free: 5.262 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.706/1.706, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.934/2.934, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002176/0.002176, allocations: 64.97 kB / 1.117 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4598, allocations: 169.9 MB / 1.283 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08491/0.5448, allocations: 65.09 MB / 1.347 GB, free: 2.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03482/0.5796, allocations: 17.55 MB / 1.364 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/0.5835, allocations: 95.19 kB / 1.364 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/0.5869, allocations: 0.8268 MB / 1.365 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.599, allocations: 3.037 MB / 1.368 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.6051, allocations: 1.688 MB / 1.369 GB, free: 11.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008515/0.6136, allocations: 4.073 MB / 1.373 GB, free: 7.078 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003124/0.6167, allocations: 1.13 MB / 1.374 GB, free: 5.902 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.6231, allocations: 1.875 MB / 1.376 GB, free: 4.023 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.6268, allocations: 1.155 MB / 1.377 GB, free: 2.863 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007315/0.6275, allocations: 180 kB / 1.377 GB, free: 2.688 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.6321, allocations: 1.158 MB / 1.379 GB, free: 1.527 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000961/0.633, allocations: 398.4 kB / 1.379 GB, free: 1.137 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.6355, allocations: 0.7194 MB / 1.38 GB, free: 424 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008972/0.6445, allocations: 3.091 MB / 1.383 GB, free: 13.31 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.6445, allocations: 0 / 1.383 GB, free: 13.31 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.965e-06/0.6445, allocations: 4 kB / 1.383 GB, free: 13.31 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000142/0.6446, allocations: 0 / 1.383 GB, free: 13.31 MB / 1.092 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.007509/0.6522, allocations: 2.011 MB / 1.385 GB, free: 11.25 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.6522, allocations: 8.031 kB / 1.385 GB, free: 11.24 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.655, allocations: 447.4 kB / 1.385 GB, free: 10.8 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.6601, allocations: 1.519 MB / 1.387 GB, free: 9.238 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.6602, allocations: 78.03 kB / 1.387 GB, free: 9.16 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/0.6607, allocations: 104 kB / 1.387 GB, free: 9.059 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/0.6649, allocations: 1.417 MB / 1.388 GB, free: 7.508 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.6649, allocations: 3.938 kB / 1.388 GB, free: 7.504 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.665, allocations: 47.94 kB / 1.388 GB, free: 7.457 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.6651, allocations: 24 kB / 1.388 GB, free: 7.434 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/0.6684, allocations: 1.101 MB / 1.389 GB, free: 6.332 MB / 1.092 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.01145/0.6799, allocations: 5.409 MB / 1.395 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/0.6832, allocations: 0.77 MB / 1.395 GB, free: 0 / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/0.6839, allocations: 266 kB / 1.396 GB, free: 15.74 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/0.6845, allocations: 160.3 kB / 1.396 GB, free: 15.58 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/0.6846, allocations: 39 kB / 1.396 GB, free: 15.53 MB / 1.107 GB Notification: Performance of pre-optimization done (n=48): time 2.094e-06/0.6846, allocations: 0 / 1.396 GB, free: 15.53 MB / 1.107 GB Notification: Performance of matching and sorting (n=48): time 0.005331/0.6899, allocations: 1.233 MB / 1.397 GB, free: 14.29 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.69, allocations: 55.84 kB / 1.397 GB, free: 14.23 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.693, allocations: 1.228 MB / 1.398 GB, free: 12.99 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.6931, allocations: 37.7 kB / 1.398 GB, free: 12.95 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008331/0.6939, allocations: 0.7032 MB / 1.399 GB, free: 12.23 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.6942, allocations: 178.5 kB / 1.399 GB, free: 12.06 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004002/0.6946, allocations: 174.5 kB / 1.399 GB, free: 11.88 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000228/0.6948, allocations: 337.9 kB / 1.4 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.6959, allocations: 365.8 kB / 1.4 GB, free: 11.19 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.6977, allocations: 0.9886 MB / 1.401 GB, free: 9.996 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.6999, allocations: 0.8858 MB / 1.402 GB, free: 9 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.6999, allocations: 0 / 1.402 GB, free: 9 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003717/0.7036, allocations: 1.169 MB / 1.403 GB, free: 7.82 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.7037, allocations: 10.5 kB / 1.403 GB, free: 7.812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.7037, allocations: 16.02 kB / 1.403 GB, free: 7.797 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.7047, allocations: 216.6 kB / 1.403 GB, free: 7.582 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.7056, allocations: 191.7 kB / 1.403 GB, free: 7.395 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.7066, allocations: 0.724 MB / 1.404 GB, free: 6.645 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.7082, allocations: 171.5 kB / 1.404 GB, free: 6.477 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.7083, allocations: 43.97 kB / 1.404 GB, free: 6.434 MB / 1.107 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.0008998/0.7092, allocations: 357.5 kB / 1.405 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.7097, allocations: 127.2 kB / 1.405 GB, free: 5.949 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.7126, allocations: 1.136 MB / 1.406 GB, free: 4.797 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.7126, allocations: 15.92 kB / 1.406 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7126, allocations: 0 / 1.406 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7126, allocations: 4 kB / 1.406 GB, free: 4.777 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008448/0.7211, allocations: 2.185 MB / 1.408 GB, free: 2.535 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.7211, allocations: 4 kB / 1.408 GB, free: 2.531 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.7216, allocations: 79.88 kB / 1.408 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.7228, allocations: 224.7 kB / 1.408 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.7229, allocations: 12 kB / 1.408 GB, free: 2.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.7248, allocations: 0.7708 MB / 1.409 GB, free: 1.422 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.7248, allocations: 4.031 kB / 1.409 GB, free: 1.418 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005126/0.7299, allocations: 1.198 MB / 1.41 GB, free: 188 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.7311, allocations: 238.9 kB / 1.41 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004393/0.7315, allocations: 16 kB / 1.41 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.7329, allocations: 63.86 kB / 1.41 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.7331, allocations: 48.36 kB / 1.411 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.7332, allocations: 27.98 kB / 1.411 GB, free: 15.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0029/0.7361, allocations: 0.8471 MB / 1.411 GB, free: 14.94 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7361, allocations: 0 / 1.411 GB, free: 14.94 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002936/0.739, allocations: 482.7 kB / 1.412 GB, free: 14.47 MB / 1.123 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.001493/0.7405, allocations: 458.7 kB / 1.412 GB, free: 14.02 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003549/0.7441, allocations: 0.8286 MB / 1.413 GB, free: 13.19 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.7441, allocations: 0 / 1.413 GB, free: 13.19 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.746, allocations: 423.4 kB / 1.413 GB, free: 12.78 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.7498, allocations: 476.4 kB / 1.414 GB, free: 12.32 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.7576, allocations: 2.262 MB / 1.416 GB, free: 10.01 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.7588, allocations: 0.5823 MB / 1.417 GB, free: 9.391 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001682/0.7605, allocations: 223.6 kB / 1.417 GB, free: 9.172 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.761, allocations: 99.41 kB / 1.417 GB, free: 9.078 MB / 1.123 GB Notification: Performance of SimCode: time 1.854e-06/0.761, allocations: 0 / 1.417 GB, free: 9.078 MB / 1.123 GB Notification: Performance of Templates: time 0.06168/0.8227, allocations: 27.17 MB / 1.444 GB, free: 14.38 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.27225267700851]