Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001565/0.001565, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.0019/0.0019, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.73/1.73, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.499/3.499, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002258/0.002258, allocations: 69.73 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5049, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08402/0.5889, allocations: 65.18 MB / 1.389 GB, free: 416 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0298/0.6187, allocations: 17.57 MB / 1.406 GB, free: 14.8 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.6225, allocations: 95.19 kB / 1.406 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.6257, allocations: 0.8268 MB / 1.407 GB, free: 13.87 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.6364, allocations: 3.028 MB / 1.41 GB, free: 10.83 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.6426, allocations: 1.687 MB / 1.412 GB, free: 9.152 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008718/0.6513, allocations: 4.048 MB / 1.416 GB, free: 5.098 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.6539, allocations: 1.138 MB / 1.417 GB, free: 3.922 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006132/0.66, allocations: 1.991 MB / 1.419 GB, free: 1.926 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/0.6629, allocations: 1.151 MB / 1.42 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.6632, allocations: 176 kB / 1.42 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.6667, allocations: 1.15 MB / 1.421 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.6672, allocations: 398.4 kB / 1.422 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.6684, allocations: 0.7194 MB / 1.422 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00623/0.6747, allocations: 3.099 MB / 1.425 GB, free: 11.22 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.6747, allocations: 0 / 1.425 GB, free: 11.22 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6747, allocations: 3.938 kB / 1.425 GB, free: 11.22 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.559e-05/0.6747, allocations: 0 / 1.425 GB, free: 11.22 MB / 1.123 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.004685/0.6794, allocations: 2.015 MB / 1.427 GB, free: 9.156 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6795, allocations: 11.97 kB / 1.427 GB, free: 9.145 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.6818, allocations: 455.4 kB / 1.428 GB, free: 8.699 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.6853, allocations: 1.527 MB / 1.429 GB, free: 7.121 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.6854, allocations: 78.03 kB / 1.429 GB, free: 7.043 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.6855, allocations: 100 kB / 1.429 GB, free: 6.945 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.6886, allocations: 1.417 MB / 1.431 GB, free: 5.395 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.6886, allocations: 0 / 1.431 GB, free: 5.395 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6887, allocations: 48 kB / 1.431 GB, free: 5.348 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.6887, allocations: 24 kB / 1.431 GB, free: 5.324 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.6916, allocations: 1.104 MB / 1.432 GB, free: 4.215 MB / 1.123 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.009302/0.7009, allocations: 5.402 MB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.7042, allocations: 0.7724 MB / 1.438 GB, free: 13.89 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006827/0.7049, allocations: 262 kB / 1.438 GB, free: 13.62 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.7055, allocations: 164.2 kB / 1.438 GB, free: 13.46 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.854e-05/0.7056, allocations: 42.94 kB / 1.438 GB, free: 13.41 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 3.427e-06/0.7056, allocations: 0 / 1.438 GB, free: 13.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005172/0.7108, allocations: 1.236 MB / 1.44 GB, free: 12.17 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.7108, allocations: 55.84 kB / 1.44 GB, free: 12.1 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.7132, allocations: 1.221 MB / 1.441 GB, free: 10.87 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/0.7133, allocations: 37.7 kB / 1.441 GB, free: 10.83 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/0.7141, allocations: 0.7149 MB / 1.442 GB, free: 10.11 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.7143, allocations: 178.5 kB / 1.442 GB, free: 9.93 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.7146, allocations: 174.5 kB / 1.442 GB, free: 9.754 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7148, allocations: 345.9 kB / 1.442 GB, free: 9.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.7159, allocations: 361.8 kB / 1.443 GB, free: 9.055 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.7175, allocations: 0.9808 MB / 1.444 GB, free: 7.867 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.7195, allocations: 0.8858 MB / 1.444 GB, free: 6.875 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.7195, allocations: 8 kB / 1.444 GB, free: 6.867 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003251/0.7228, allocations: 1.169 MB / 1.446 GB, free: 5.688 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.7228, allocations: 9.719 kB / 1.446 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.7228, allocations: 8 kB / 1.446 GB, free: 5.672 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.7238, allocations: 216.6 kB / 1.446 GB, free: 5.457 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.7247, allocations: 195.7 kB / 1.446 GB, free: 5.266 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.7257, allocations: 0.7202 MB / 1.447 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.7272, allocations: 175.4 kB / 1.447 GB, free: 4.348 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.7273, allocations: 43.98 kB / 1.447 GB, free: 4.305 MB / 1.139 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.0008711/0.7282, allocations: 361.6 kB / 1.447 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.7285, allocations: 123.2 kB / 1.447 GB, free: 3.82 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.7311, allocations: 1.138 MB / 1.449 GB, free: 2.664 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.7311, allocations: 4 kB / 1.449 GB, free: 2.66 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7311, allocations: 0 / 1.449 GB, free: 2.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.7312, allocations: 3.984 kB / 1.449 GB, free: 2.656 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.7366, allocations: 2.196 MB / 1.451 GB, free: 412 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.7366, allocations: 7.938 kB / 1.451 GB, free: 404 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.737, allocations: 88 kB / 1.451 GB, free: 316 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000796/0.7378, allocations: 208.6 kB / 1.451 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.7379, allocations: 19.98 kB / 1.451 GB, free: 84 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.7393, allocations: 0.7709 MB / 1.452 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.7394, allocations: 8.016 kB / 1.452 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.743, allocations: 1.194 MB / 1.453 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/0.7437, allocations: 242.9 kB / 1.453 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.7438, allocations: 12 kB / 1.453 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.7446, allocations: 67.86 kB / 1.453 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.7447, allocations: 44.42 kB / 1.453 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.7448, allocations: 27.98 kB / 1.453 GB, free: 13.66 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001715/0.7465, allocations: 0.8512 MB / 1.454 GB, free: 12.8 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7465, allocations: 0 / 1.454 GB, free: 12.8 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00163/0.7481, allocations: 486.7 kB / 1.455 GB, free: 12.32 MB / 1.154 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.0008988/0.749, allocations: 462 kB / 1.455 GB, free: 11.87 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.7514, allocations: 0.8279 MB / 1.456 GB, free: 11.05 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7514, allocations: 5 kB / 1.456 GB, free: 11.04 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.7527, allocations: 431 kB / 1.456 GB, free: 10.62 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.7548, allocations: 464.7 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.7596, allocations: 2.26 MB / 1.459 GB, free: 7.863 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.7603, allocations: 0.5864 MB / 1.459 GB, free: 7.242 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008936/0.7611, allocations: 225.4 kB / 1.46 GB, free: 7.02 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.7614, allocations: 99.41 kB / 1.46 GB, free: 6.922 MB / 1.154 GB Notification: Performance of SimCode: time 1.112e-06/0.7614, allocations: 0 / 1.46 GB, free: 6.922 MB / 1.154 GB Notification: Performance of Templates: time 0.05245/0.8139, allocations: 27.18 MB / 1.486 GB, free: 12.21 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.491983897984028]