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.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.001825/0.001825, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002062/0.002062, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.601/1.601, allocations: 177.1 MB / 203.9 MB, free: 4.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.902/2.902, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.663e-06/1.663e-06, allocations: 0 / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.826e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005561/0.005589, allocations: 2.885 MB / 0.7892 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.009098, allocations: 1.651 MB / 0.7908 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.009424, allocations: 19.81 kB / 0.7908 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.01001, allocations: 99.78 kB / 0.7909 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.01072, allocations: 205.1 kB / 0.7911 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.01179, allocations: 389.8 kB / 0.7915 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008311/0.01262, allocations: 0.5654 MB / 0.792 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.01293, allocations: 125.8 kB / 0.7921 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005412/0.01348, allocations: 304.6 kB / 0.7924 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.01375, allocations: 151.5 kB / 0.7926 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.01383, allocations: 45.19 kB / 0.7926 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.01408, allocations: 111.8 kB / 0.7927 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.01424, allocations: 107.6 kB / 0.7928 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.01443, allocations: 128.5 kB / 0.793 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008788/0.01531, allocations: 0.6346 MB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01532, allocations: 0 / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01532, allocations: 1.594 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.01533, allocations: 0 / 0.7936 GB, free: 5.453 MB / 0.7448 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.001511/0.01684, allocations: 0.8718 MB / 0.7944 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.01688, allocations: 12.03 kB / 0.7944 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.01721, allocations: 95.55 kB / 0.7945 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.01798, allocations: 397.8 kB / 0.7949 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.01801, allocations: 25.75 kB / 0.7949 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.01807, allocations: 28.38 kB / 0.795 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.01902, allocations: 402.5 kB / 0.7953 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.01903, allocations: 0 / 0.7953 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.01907, allocations: 12 kB / 0.7954 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01908, allocations: 8 kB / 0.7954 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.01958, allocations: 191.6 kB / 0.7955 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.02142, allocations: 1.277 MB / 0.7968 GB, free: 2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.02202, allocations: 228.5 kB / 0.797 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.02226, allocations: 101.2 kB / 0.7971 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.0223, allocations: 4 kB / 0.7971 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/0.02268, allocations: 149 kB / 0.7973 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.02268, allocations: 0.5 kB / 0.7973 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0008794/0.02356, allocations: 337 kB / 0.7976 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.02363, allocations: 77.11 kB / 0.7976 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.02435, allocations: 0.5533 MB / 0.7982 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.02439, allocations: 30.61 kB / 0.7982 GB, free: 480 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.02469, allocations: 311.3 kB / 0.7985 GB, free: 164 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.02478, allocations: 79.39 kB / 0.7986 GB, free: 84 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.02492, allocations: 75.88 kB / 0.7987 GB, free: 0 / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003994/0.02532, allocations: 0.5554 MB / 0.7992 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.02553, allocations: 75.95 kB / 0.7993 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.02586, allocations: 214.7 kB / 0.7995 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.02634, allocations: 231.2 kB / 0.7997 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.02634, allocations: 0 / 0.7997 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000619/0.02696, allocations: 291.3 kB / 0.8 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.02698, allocations: 4 kB / 0.8 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.02699, allocations: 4 kB / 0.8 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.02701, allocations: 4.75 kB / 0.8 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.02726, allocations: 51.91 kB / 0.8 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.02727, allocations: 4.938 kB / 0.8 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.02744, allocations: 27.81 kB / 0.8001 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.02746, allocations: 9.344 kB / 0.8001 GB, free: 14.47 MB / 0.7605 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.0002404/0.0277, allocations: 212.5 kB / 0.8003 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.02779, allocations: 55.66 kB / 0.8003 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.02846, allocations: 272.2 kB / 0.8006 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.02847, allocations: 7.938 kB / 0.8006 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.02847, allocations: 0 / 0.8006 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02848, allocations: 0 / 0.8006 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.029, allocations: 400.3 kB / 0.801 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.029, allocations: 0 / 0.801 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.02923, allocations: 36.55 kB / 0.801 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.02923, allocations: 3.438 kB / 0.801 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.02926, allocations: 11.98 kB / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.02926, allocations: 0 / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.02926, allocations: 3.938 kB / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.03015, allocations: 419.6 kB / 0.8014 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.0303, allocations: 63.62 kB / 0.8015 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.03035, allocations: 4 kB / 0.8015 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.0305, allocations: 16.48 kB / 0.8015 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.03058, allocations: 19.91 kB / 0.8015 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.03061, allocations: 16.55 kB / 0.8016 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004365/0.03105, allocations: 352.4 kB / 0.8019 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03105, allocations: 0 / 0.8019 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003551/0.0314, allocations: 83.77 kB / 0.802 GB, free: 12.47 MB / 0.7605 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 (24): * Single equations (assignments): 22 * 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.00323/0.03463, allocations: 459.3 kB / 0.8024 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006102/0.03524, allocations: 216.4 kB / 0.8026 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03524, allocations: 0 / 0.8026 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.03552, allocations: 118.8 kB / 0.8027 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/0.03615, allocations: 120.8 kB / 0.8028 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.03758, allocations: 0.6899 MB / 0.8035 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.03782, allocations: 215.1 kB / 0.8037 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.03801, allocations: 51.25 kB / 0.8038 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.03812, allocations: 40.48 kB / 0.8038 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.03812, allocations: 0 / 0.8038 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.01145/0.04957, allocations: 4.93 MB / 0.8086 GB, free: 5.945 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] 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: 8.016403676010668]