Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.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.001852/0.001852, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002482/0.002482, allocations: 211.5 kB / 23 MB, free: 4.965 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.618/1.618, 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.504/3.504, allocations: 0.505 GB / 0.8109 GB, free: 23.56 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.HeatExchangers.CoolingTowers.Validation.MerkelNominal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TWatIn_nominal|tow.TWatOut_nominal|tow.sta_a.T|tow.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tow.TWatIn_nominal|tow.TWatOut_nominal|tow.sta_a.T|tow.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal") [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.002152/0.002152, allocations: 72.22 kB / 1.178 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.471, allocations: 180.2 MB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal): time 0.2374/0.7084, allocations: 160.3 MB / 1.511 GB, free: 6.527 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.7271, allocations: 10.21 MB / 1.521 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.7289, allocations: 43.62 kB / 1.521 GB, free: 12.25 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.7307, allocations: 469 kB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008509/0.7392, allocations: 2.278 MB / 1.523 GB, free: 9.508 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.7425, allocations: 1.016 MB / 1.524 GB, free: 8.5 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004705/0.7472, allocations: 2.321 MB / 1.527 GB, free: 6.172 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.7484, allocations: 0.5799 MB / 1.527 GB, free: 5.582 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.7509, allocations: 0.9452 MB / 1.528 GB, free: 4.637 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.7521, allocations: 0.6456 MB / 1.529 GB, free: 3.988 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.7522, allocations: 91.94 kB / 1.529 GB, free: 3.898 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.7577, allocations: 2.158 MB / 1.531 GB, free: 1.738 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.7581, allocations: 267 kB / 1.531 GB, free: 1.477 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007322/0.7589, allocations: 430 kB / 1.532 GB, free: 1.055 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.7645, allocations: 2.461 MB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7645, allocations: 0 / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7645, allocations: 0 / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.7645, allocations: 0 / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003538/0.768, allocations: 1.484 MB / 1.535 GB, free: 13.06 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.7681, allocations: 12.03 kB / 1.535 GB, free: 13.05 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.7696, allocations: 235.1 kB / 1.536 GB, free: 12.82 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.7714, allocations: 0.8483 MB / 1.536 GB, free: 11.94 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.7715, allocations: 45 kB / 1.536 GB, free: 11.89 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7716, allocations: 52 kB / 1.537 GB, free: 11.84 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.773, allocations: 0.7202 MB / 1.537 GB, free: 11.08 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.773, allocations: 7.984 kB / 1.537 GB, free: 11.07 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.7731, allocations: 20 kB / 1.537 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.7731, allocations: 12 kB / 1.537 GB, free: 11.04 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.7744, allocations: 0.5699 MB / 1.538 GB, free: 10.47 MB / 1.232 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.004449/0.7788, allocations: 2.193 MB / 1.54 GB, free: 8.234 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.7799, allocations: 388.8 kB / 1.54 GB, free: 7.848 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.7804, allocations: 185.3 kB / 1.541 GB, free: 7.664 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00239/0.7828, allocations: 0.9233 MB / 1.541 GB, free: 6.719 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.7828, allocations: 30.8 kB / 1.541 GB, free: 6.68 MB / 1.232 GB Notification: Performance of pre-optimization done (n=27): time 4.748e-06/0.7828, allocations: 3.984 kB / 1.541 GB, free: 6.676 MB / 1.232 GB Notification: Performance of matching and sorting (n=27): time 0.004938/0.7877, allocations: 0.9407 MB / 1.542 GB, free: 5.727 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.7878, allocations: 55.41 kB / 1.542 GB, free: 5.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.7892, allocations: 0.9696 MB / 1.543 GB, free: 4.68 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.7893, allocations: 37.64 kB / 1.543 GB, free: 4.637 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.7896, allocations: 432.5 kB / 1.544 GB, free: 4.207 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.7898, allocations: 107.2 kB / 1.544 GB, free: 4.102 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.79, allocations: 134.2 kB / 1.544 GB, free: 3.961 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7902, allocations: 329.9 kB / 1.544 GB, free: 3.633 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.7907, allocations: 259.3 kB / 1.545 GB, free: 3.379 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009222/0.7916, allocations: 0.6697 MB / 1.545 GB, free: 2.605 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7927, allocations: 0.4938 MB / 1.546 GB, free: 2.074 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7927, allocations: 3.938 kB / 1.546 GB, free: 2.07 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001941/0.7946, allocations: 0.8188 MB / 1.547 GB, free: 1.242 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7947, allocations: 8 kB / 1.547 GB, free: 1.234 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7947, allocations: 7.984 kB / 1.547 GB, free: 1.227 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156/2.95, allocations: 146.3 MB / 1.689 GB, free: 203.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/2.951, allocations: 105.6 kB / 1.69 GB, free: 203.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/2.952, allocations: 1.277 MB / 1.691 GB, free: 202.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/2.954, allocations: 72.81 kB / 1.691 GB, free: 202 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/2.954, allocations: 27.42 kB / 1.691 GB, free: 202 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009723/2.955, allocations: 450 kB / 1.691 GB, free: 201.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008009/2.955, allocations: 0.6644 MB / 1.692 GB, free: 201.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001065/2.956, allocations: 0.4943 MB / 1.692 GB, free: 200.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.391e-06/2.956, allocations: 4 kB / 1.692 GB, free: 200.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002012/2.958, allocations: 0.8091 MB / 1.693 GB, free: 200.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/2.958, allocations: 8 kB / 1.693 GB, free: 200.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/2.959, allocations: 6.984 kB / 1.693 GB, free: 200.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102/4.061, allocations: 146.3 MB / 1.836 GB, free: 53.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/4.061, allocations: 107.3 kB / 1.836 GB, free: 53.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/4.062, allocations: 1.278 MB / 1.837 GB, free: 52.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/4.064, allocations: 56.95 kB / 1.838 GB, free: 52.26 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/4.064, allocations: 27.98 kB / 1.838 GB, free: 52.23 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002215/4.064, allocations: 208.1 kB / 1.838 GB, free: 52.02 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/4.064, allocations: 83.77 kB / 1.838 GB, free: 51.98 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/4.065, allocations: 0.5701 MB / 1.838 GB, free: 51.41 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009956/4.066, allocations: 0.6713 MB / 1.839 GB, free: 50.67 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/4.066, allocations: 1.859 kB / 1.839 GB, free: 50.67 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/4.067, allocations: 123.8 kB / 1.839 GB, free: 50.57 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/4.067, allocations: 11.56 kB / 1.839 GB, free: 50.56 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/4.067, allocations: 23.92 kB / 1.839 GB, free: 50.54 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/4.067, allocations: 19.95 kB / 1.839 GB, free: 50.52 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001977/4.069, allocations: 0.6619 MB / 1.84 GB, free: 49.85 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00122/4.071, allocations: 0.7972 MB / 1.841 GB, free: 49.04 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003446/4.071, allocations: 171.8 kB / 1.841 GB, free: 48.87 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008051/4.072, allocations: 0.6786 MB / 1.841 GB, free: 48.19 MB / 1.295 GB Notification: Performance of Backend: time 1.453e-06/4.072, allocations: 0 / 1.841 GB, free: 48.19 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004103/4.076, allocations: 1.376 MB / 1.843 GB, free: 46.96 MB / 1.295 GB Notification: Performance of SimCode: time 0.003199/4.079, allocations: 2.128 MB / 1.845 GB, free: 44.83 MB / 1.295 GB Notification: Performance of Templates: time 0.03713/4.116, allocations: 29.12 MB / 1.873 GB, free: 16.13 MB / 1.295 GB " [Timeout remaining time 296] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelNominal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelNominal.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.71231412600173]