Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.88 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005267/1.061, allocations: 2.976 MB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004096/1.065, allocations: 1.544 MB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/1.066, allocations: 12.25 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005803/1.067, allocations: 101.1 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/1.067, allocations: 148.9 kB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/1.068, allocations: 414.5 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006176/1.069, allocations: 0.534 MB / 1.278 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/1.069, allocations: 139.2 kB / 1.278 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/1.069, allocations: 205.7 kB / 1.278 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/1.07, allocations: 215.6 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/1.07, allocations: 40.78 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/1.07, allocations: 100.7 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/1.07, allocations: 100.1 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/1.07, allocations: 216 kB / 1.279 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007998/1.071, allocations: 0.6003 MB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.071, allocations: 1.062 kB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.943e-06/1.071, allocations: 0 / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.071, allocations: 0 / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001297/1.072, allocations: 0.8095 MB / 1.28 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.072, allocations: 13.94 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.073, allocations: 54.33 kB / 1.28 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/1.073, allocations: 445.8 kB / 1.28 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/1.073, allocations: 24.62 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/1.073, allocations: 29.31 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/1.074, allocations: 327.7 kB / 1.281 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.074, allocations: 0.75 kB / 1.281 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/1.074, allocations: 11.53 kB / 1.281 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.074, allocations: 6.688 kB / 1.281 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/1.075, allocations: 211.3 kB / 1.281 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.076, allocations: 1.099 MB / 1.282 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/1.077, allocations: 229.4 kB / 1.282 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/1.077, allocations: 102.7 kB / 1.282 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/1.077, allocations: 4.125 kB / 1.282 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/1.077, allocations: 160.7 kB / 1.283 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/1.077, allocations: 0 / 1.283 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0008203/1.078, allocations: 353 kB / 1.283 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.078, allocations: 107.3 kB / 1.283 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/1.079, allocations: 448.9 kB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/1.079, allocations: 32.55 kB / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/1.079, allocations: 247.2 kB / 1.284 GB, free: 236 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/1.079, allocations: 68.27 kB / 1.284 GB, free: 180 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/1.079, allocations: 60.5 kB / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.079, allocations: 351.2 kB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/1.08, allocations: 88.06 kB / 1.284 GB, free: 15.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/1.08, allocations: 168.9 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/1.08, allocations: 217.9 kB / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.08, allocations: 0 / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006269/1.081, allocations: 306.3 kB / 1.285 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.081, allocations: 8.656 kB / 1.285 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.081, allocations: 5.422 kB / 1.285 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.081, allocations: 0 / 1.285 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/1.081, allocations: 55.33 kB / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.081, allocations: 2.844 kB / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/1.081, allocations: 29.62 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/1.081, allocations: 12.77 kB / 1.285 GB, free: 15.36 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * 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.0002267/1.082, allocations: 185 kB / 1.285 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/1.082, allocations: 48.66 kB / 1.285 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000674/1.082, allocations: 284.2 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.082, allocations: 4.188 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.082, allocations: 0.5625 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.082, allocations: 1.031 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/1.083, allocations: 409.5 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.083, allocations: 8.5 kB / 1.286 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/1.083, allocations: 34.14 kB / 1.286 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.083, allocations: 6.156 kB / 1.286 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/1.083, allocations: 6.516 kB / 1.286 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.083, allocations: 1.062 kB / 1.286 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.083, allocations: 4.5 kB / 1.286 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009169/1.084, allocations: 425.5 kB / 1.286 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/1.084, allocations: 146.2 kB / 1.286 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/1.084, allocations: 4.656 kB / 1.286 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/1.085, allocations: 13.62 kB / 1.286 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/1.085, allocations: 20.81 kB / 1.286 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/1.085, allocations: 7 kB / 1.286 GB, free: 14.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004227/1.085, allocations: 318.2 kB / 1.287 GB, free: 14.24 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.085, allocations: 8 kB / 1.287 GB, free: 14.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003904/1.085, allocations: 80.7 kB / 1.287 GB, free: 14.21 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001777/1.087, allocations: 433.7 kB / 1.287 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006761/1.088, allocations: 214.7 kB / 1.287 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.088, allocations: 4.312 kB / 1.287 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/1.088, allocations: 106.5 kB / 1.288 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/1.089, allocations: 113.6 kB / 1.288 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/1.09, allocations: 0.6887 MB / 1.288 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/1.091, allocations: 0.8123 MB / 1.289 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002251/1.091, allocations: 53.62 kB / 1.289 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/1.091, allocations: 37.94 kB / 1.289 GB, free: 12.71 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.091, allocations: 0 / 1.289 GB, free: 12.71 MB / 1.014 GB Notification: Performance of Templates: time 0.01629/1.108, allocations: 4.88 MB / 1.294 GB, free: 12.3 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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: 9.245142344385386]