Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.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.000898/0.000898, allocations: 80.55 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0008761/0.0008761, allocations: 177.2 kB / 23.22 MB, free: 1.324 MB / 18.57 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 0.9317/0.9317, allocations: 177.2 MB / 203.6 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.837/1.837, allocations: 388.8 MB / 0.6336 GB, free: 13.04 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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.Examples.DryCooler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TEnt.T|tow.TLvg|tow.TDryBul|tow.PFan|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TEnt.T|tow.TLvg|tow.TDryBul|tow.PFan|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 1 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.768e-05, allocations: 2.281 kB / 1 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler): time 0.7676/0.7676, allocations: 214.1 MB / 1.21 GB, free: 6.652 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.03222/0.7999, allocations: 23.57 MB / 1.233 GB, free: 5.457 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004848/0.8047, allocations: 154.7 kB / 1.233 GB, free: 5.383 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.006483/0.8112, allocations: 2.363 MB / 1.235 GB, free: 3.684 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.8233, allocations: 4.415 MB / 1.239 GB, free: 15.54 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00765/0.831, allocations: 3.622 MB / 1.243 GB, free: 11.95 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.01466/0.8457, allocations: 11.33 MB / 1.254 GB, free: 0.6016 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/0.8504, allocations: 2.601 MB / 1.256 GB, free: 13.92 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007847/0.8583, allocations: 4.444 MB / 1.261 GB, free: 9.477 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.8613, allocations: 1.955 MB / 1.263 GB, free: 7.516 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0008143/0.8621, allocations: 376 kB / 1.263 GB, free: 7.148 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005351/0.8674, allocations: 2.81 MB / 1.266 GB, free: 4.336 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.8683, allocations: 1.21 MB / 1.267 GB, free: 3.121 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.8702, allocations: 1.43 MB / 1.268 GB, free: 1.688 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.009499/0.8797, allocations: 7.256 MB / 1.275 GB, free: 10.41 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8797, allocations: 5.031 kB / 1.275 GB, free: 10.4 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8797, allocations: 4 kB / 1.275 GB, free: 10.4 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0001901/0.8799, allocations: 0 / 1.275 GB, free: 10.4 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.007701/0.8876, allocations: 4.947 MB / 1.28 GB, free: 5.375 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.8876, allocations: 11.98 kB / 1.28 GB, free: 5.363 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.8899, allocations: 0.8013 MB / 1.281 GB, free: 4.559 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00499/0.8949, allocations: 4.16 MB / 1.285 GB, free: 340 kB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.895, allocations: 176.5 kB / 1.285 GB, free: 160 kB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.8953, allocations: 240 kB / 1.286 GB, free: 15.92 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.8987, allocations: 3.08 MB / 1.289 GB, free: 12.56 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.8988, allocations: 13.69 kB / 1.289 GB, free: 12.55 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.8989, allocations: 98.25 kB / 1.289 GB, free: 12.45 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.899, allocations: 59.94 kB / 1.289 GB, free: 12.39 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.9019, allocations: 2.366 MB / 1.291 GB, free: 10.01 MB / 1.12 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.009946/0.9119, allocations: 8.3 MB / 1.299 GB, free: 1.531 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.9144, allocations: 1.742 MB / 1.301 GB, free: 15.79 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.9154, allocations: 0.767 MB / 1.302 GB, free: 15.02 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004084/0.9195, allocations: 2.634 MB / 1.304 GB, free: 12.37 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.9208, allocations: 1.262 MB / 1.305 GB, free: 11.02 MB / 1.135 GB Notification: Performance of pre-optimization done (n=168): time 5.52e-06/0.9208, allocations: 0 / 1.305 GB, free: 11.02 MB / 1.135 GB Notification: Performance of matching and sorting (n=168): time 0.003738/0.9246, allocations: 2.446 MB / 1.308 GB, free: 8.566 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.9247, allocations: 209.9 kB / 1.308 GB, free: 8.32 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/0.9277, allocations: 3.121 MB / 1.311 GB, free: 5.207 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.9278, allocations: 65.7 kB / 1.311 GB, free: 5.137 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.9288, allocations: 1.676 MB / 1.313 GB, free: 3.449 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.9292, allocations: 0.581 MB / 1.313 GB, free: 2.863 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/0.9296, allocations: 407.3 kB / 1.314 GB, free: 2.457 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.9298, allocations: 309.1 kB / 1.314 GB, free: 2.152 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009701/0.9308, allocations: 0.7075 MB / 1.315 GB, free: 1.441 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.9322, allocations: 1.653 MB / 1.316 GB, free: 15.52 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.9344, allocations: 1.855 MB / 1.318 GB, free: 13.51 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.9344, allocations: 4 kB / 1.318 GB, free: 13.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.002959/0.9374, allocations: 2.319 MB / 1.32 GB, free: 11.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.9374, allocations: 14.75 kB / 1.32 GB, free: 11.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.9374, allocations: 19.97 kB / 1.32 GB, free: 11.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.9376, allocations: 20 kB / 1.32 GB, free: 11.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009538/0.9386, allocations: 451.3 kB / 1.321 GB, free: 10.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/0.9386, allocations: 33.42 kB / 1.321 GB, free: 10.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.9399, allocations: 273 kB / 1.321 GB, free: 10.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.94, allocations: 95.95 kB / 1.321 GB, free: 10.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001696/0.9417, allocations: 1.347 MB / 1.323 GB, free: 8.941 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001316/0.943, allocations: 1.641 MB / 1.324 GB, free: 7.023 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00199/0.945, allocations: 1.828 MB / 1.326 GB, free: 5.043 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/0.945, allocations: 0 / 1.326 GB, free: 5.043 MB / 1.151 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.002986/0.948, allocations: 2.307 MB / 1.328 GB, free: 2.727 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.948, allocations: 8 kB / 1.328 GB, free: 2.719 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.948, allocations: 12 kB / 1.328 GB, free: 2.707 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.948, allocations: 28.69 kB / 1.328 GB, free: 2.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/0.9489, allocations: 451.3 kB / 1.329 GB, free: 2.238 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.9489, allocations: 23.94 kB / 1.329 GB, free: 2.215 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.9501, allocations: 254.9 kB / 1.329 GB, free: 1.965 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.9502, allocations: 91.97 kB / 1.329 GB, free: 1.875 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 250 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003846/0.9506, allocations: 326.2 kB / 1.329 GB, free: 1.551 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.951, allocations: 349.7 kB / 1.33 GB, free: 1.207 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.9539, allocations: 2.343 MB / 1.332 GB, free: 14.85 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002119/0.956, allocations: 1.893 MB / 1.334 GB, free: 12.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.9561, allocations: 0 / 1.334 GB, free: 12.89 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.9571, allocations: 0.5927 MB / 1.334 GB, free: 12.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.9574, allocations: 40 kB / 1.334 GB, free: 12.26 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008472/0.9582, allocations: 135.8 kB / 1.335 GB, free: 12.12 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.9584, allocations: 133.8 kB / 1.335 GB, free: 12 MB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002778/0.9612, allocations: 2.025 MB / 1.337 GB, free: 9.965 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003837/0.965, allocations: 3.239 MB / 1.34 GB, free: 6.711 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009863/0.966, allocations: 0.7886 MB / 1.341 GB, free: 5.922 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002606/0.9686, allocations: 2.112 MB / 1.343 GB, free: 3.824 MB / 1.167 GB Notification: Performance of Backend: time 9.92e-07/0.9686, allocations: 0 / 1.343 GB, free: 3.824 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007502/0.9761, allocations: 3.606 MB / 1.346 GB, free: 500 kB / 1.167 GB Notification: Performance of SimCode: time 0.009788/0.9859, allocations: 7.527 MB / 1.354 GB, free: 8.953 MB / 1.182 GB Notification: Performance of Templates: time 0.08955/1.075, allocations: 84.37 MB / 1.436 GB, free: 5.789 MB / 1.26 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_DryCooler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.DryCooler.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: 8.143786637112498]