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.001603/0.001603, 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.00175/0.00175, allocations: 216 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.89/2.89, allocations: 476 MB / 0.7707 GB, free: 4.684 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.00209/0.00209, allocations: 69.78 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3999, allocations: 169.9 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07607/0.4759, allocations: 65.09 MB / 1.347 GB, free: 10.58 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02696/0.5029, allocations: 17.56 MB / 1.364 GB, free: 8.977 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.5057, allocations: 95.19 kB / 1.365 GB, free: 8.883 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.5085, allocations: 0.8229 MB / 1.365 GB, free: 8.055 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009056/0.5175, allocations: 3.029 MB / 1.368 GB, free: 5.012 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.5223, allocations: 1.69 MB / 1.37 GB, free: 3.328 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006559/0.5288, allocations: 4.066 MB / 1.374 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.531, allocations: 1.13 MB / 1.375 GB, free: 14.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004719/0.5357, allocations: 1.878 MB / 1.377 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.5382, allocations: 1.167 MB / 1.378 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000331/0.5386, allocations: 176 kB / 1.378 GB, free: 10.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.5415, allocations: 1.158 MB / 1.379 GB, free: 9.691 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.542, allocations: 402.4 kB / 1.38 GB, free: 9.297 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.5431, allocations: 0.7116 MB / 1.38 GB, free: 8.582 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004979/0.548, allocations: 3.091 MB / 1.383 GB, free: 5.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.548, allocations: 4 kB / 1.383 GB, free: 5.477 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5481, allocations: 0 / 1.383 GB, free: 5.477 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.073e-05/0.5481, allocations: 0 / 1.383 GB, free: 5.477 MB / 1.076 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.003942/0.552, allocations: 2.007 MB / 1.385 GB, free: 3.422 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5521, allocations: 11.97 kB / 1.385 GB, free: 3.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.5543, allocations: 451.4 kB / 1.386 GB, free: 2.969 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.5573, allocations: 1.515 MB / 1.387 GB, free: 1.406 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/0.5574, allocations: 82.03 kB / 1.387 GB, free: 1.324 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.5576, allocations: 100 kB / 1.387 GB, free: 1.227 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.5604, allocations: 1.417 MB / 1.389 GB, free: 15.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.5604, allocations: 3.938 kB / 1.389 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.5605, allocations: 48 kB / 1.389 GB, free: 15.62 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.5605, allocations: 27.94 kB / 1.389 GB, free: 15.6 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/0.5633, allocations: 1.097 MB / 1.39 GB, free: 14.5 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.008662/0.572, allocations: 5.405 MB / 1.395 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/0.5752, allocations: 0.7762 MB / 1.396 GB, free: 8.164 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.5758, allocations: 258 kB / 1.396 GB, free: 7.91 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.5764, allocations: 168.3 kB / 1.396 GB, free: 7.746 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.5764, allocations: 42.94 kB / 1.397 GB, free: 7.695 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/0.5764, allocations: 0 / 1.397 GB, free: 7.695 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.004842/0.5813, allocations: 1.237 MB / 1.398 GB, free: 6.449 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.5813, allocations: 59.84 kB / 1.398 GB, free: 6.379 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.5834, allocations: 1.22 MB / 1.399 GB, free: 5.148 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/0.5835, allocations: 33.7 kB / 1.399 GB, free: 5.109 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.5842, allocations: 0.711 MB / 1.4 GB, free: 4.391 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.5844, allocations: 178.5 kB / 1.4 GB, free: 4.215 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.5847, allocations: 174.5 kB / 1.4 GB, free: 4.039 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.5849, allocations: 334 kB / 1.4 GB, free: 3.707 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009999/0.5859, allocations: 365.8 kB / 1.401 GB, free: 3.352 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.5874, allocations: 0.9919 MB / 1.402 GB, free: 2.156 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.5893, allocations: 0.8897 MB / 1.403 GB, free: 1.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5893, allocations: 0 / 1.403 GB, free: 1.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003127/0.5925, allocations: 1.166 MB / 1.404 GB, free: 15.98 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5925, allocations: 8 kB / 1.404 GB, free: 15.97 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5925, allocations: 8 kB / 1.404 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/0.5934, allocations: 220.6 kB / 1.404 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.5942, allocations: 195.7 kB / 1.404 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/0.5952, allocations: 0.7163 MB / 1.405 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.5965, allocations: 179.4 kB / 1.405 GB, free: 14.64 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.544e-05/0.5966, allocations: 43.98 kB / 1.405 GB, free: 14.6 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.0006965/0.5973, allocations: 361.5 kB / 1.405 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.5976, allocations: 127.2 kB / 1.405 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.6001, allocations: 1.134 MB / 1.407 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.6001, allocations: 4 kB / 1.407 GB, free: 12.95 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6001, allocations: 0 / 1.407 GB, free: 12.95 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.6001, allocations: 7.984 kB / 1.407 GB, free: 12.95 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.6054, allocations: 2.181 MB / 1.409 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.6054, allocations: 4 kB / 1.409 GB, free: 10.7 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.6058, allocations: 79.89 kB / 1.409 GB, free: 10.62 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007971/0.6066, allocations: 216.8 kB / 1.409 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.6066, allocations: 19.98 kB / 1.409 GB, free: 10.39 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.6081, allocations: 0.7669 MB / 1.41 GB, free: 9.598 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6081, allocations: 4.031 kB / 1.41 GB, free: 9.594 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.6117, allocations: 1.198 MB / 1.411 GB, free: 8.359 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/0.6123, allocations: 246.8 kB / 1.411 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.6125, allocations: 16 kB / 1.411 GB, free: 8.102 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/0.6132, allocations: 67.86 kB / 1.411 GB, free: 8.035 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.6133, allocations: 44.36 kB / 1.411 GB, free: 7.992 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.6134, allocations: 31.98 kB / 1.411 GB, free: 7.961 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001571/0.615, allocations: 0.8471 MB / 1.412 GB, free: 7.109 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.615, allocations: 4 kB / 1.412 GB, free: 7.105 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001406/0.6164, allocations: 482.7 kB / 1.413 GB, free: 6.633 MB / 1.107 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.0008292/0.6172, allocations: 454.8 kB / 1.413 GB, free: 6.18 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.6195, allocations: 0.8325 MB / 1.414 GB, free: 5.352 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6195, allocations: 0 / 1.414 GB, free: 5.352 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.6208, allocations: 423.4 kB / 1.414 GB, free: 4.938 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.6229, allocations: 470.6 kB / 1.415 GB, free: 4.488 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.6273, allocations: 2.295 MB / 1.417 GB, free: 2.137 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.628, allocations: 0.5757 MB / 1.418 GB, free: 1.527 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.6283, allocations: 99.41 kB / 1.418 GB, free: 1.43 MB / 1.107 GB Notification: Performance of SimCode: time 9.12e-07/0.6283, allocations: 0 / 1.418 GB, free: 1.43 MB / 1.107 GB Notification: Performance of Templates: time 0.04542/0.6737, allocations: 31.44 MB / 1.448 GB, free: 2.16 MB / 1.139 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/jenkins1/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: 14.981973386835307]