Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001415/0.001415, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001663/0.001663, allocations: 169 kB / 23.02 MB, free: 1.547 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.9677/0.9677, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 2.023/2.023, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.255e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00498/0.005013, allocations: 2.915 MB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003256/0.008269, allocations: 1.675 MB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.008718, allocations: 15.88 kB / 0.8827 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.009223, allocations: 103.1 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007159/0.009939, allocations: 197.1 kB / 0.8829 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.01072, allocations: 397.2 kB / 0.8833 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.01121, allocations: 0.5654 MB / 0.8839 GB, free: 500 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.01143, allocations: 126.8 kB / 0.884 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.01174, allocations: 311.1 kB / 0.8843 GB, free: 56 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.01192, allocations: 152.4 kB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.01196, allocations: 40 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.01211, allocations: 108.4 kB / 0.8846 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.0122, allocations: 101.3 kB / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.01229, allocations: 127.5 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.01273, allocations: 402.3 kB / 0.8852 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.01274, allocations: 3.984 kB / 0.8852 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.472e-06/0.01274, allocations: 0 / 0.8852 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.01274, allocations: 1.188 kB / 0.8852 GB, free: 15.14 MB / 0.8542 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.000809/0.01355, allocations: 0.8212 MB / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.01359, allocations: 8.031 kB / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.01376, allocations: 89.25 kB / 0.8861 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.01416, allocations: 426.8 kB / 0.8865 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.01419, allocations: 25.02 kB / 0.8865 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.01422, allocations: 24.38 kB / 0.8865 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.01455, allocations: 291.4 kB / 0.8868 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.01456, allocations: 4 kB / 0.8868 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.01458, allocations: 11.98 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01459, allocations: 9.688 kB / 0.8868 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.01476, allocations: 102.9 kB / 0.8869 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.0156, allocations: 1.09 MB / 0.888 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.01587, allocations: 158.9 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.01595, allocations: 55.66 kB / 0.8882 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.01597, allocations: 4.781 kB / 0.8882 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.01612, allocations: 115.3 kB / 0.8883 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.252e-06/0.01612, allocations: 0 / 0.8883 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003485/0.01647, allocations: 235.1 kB / 0.8885 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.01649, allocations: 55.41 kB / 0.8886 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.01679, allocations: 434.6 kB / 0.889 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01681, allocations: 33.7 kB / 0.889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01694, allocations: 283.3 kB / 0.8893 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.01698, allocations: 75.33 kB / 0.8894 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.01704, allocations: 63.34 kB / 0.8894 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01717, allocations: 0.5235 MB / 0.89 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.01723, allocations: 35.97 kB / 0.89 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.01734, allocations: 140.9 kB / 0.8901 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01751, allocations: 144.3 kB / 0.8903 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01751, allocations: 7.984 kB / 0.8903 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002439/0.01775, allocations: 213.2 kB / 0.8905 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.01777, allocations: 11.94 kB / 0.8905 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01777, allocations: 3.984 kB / 0.8905 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01778, allocations: 7.938 kB / 0.8905 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01791, allocations: 47.91 kB / 0.8905 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01792, allocations: 4 kB / 0.8905 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.018, allocations: 27.83 kB / 0.8906 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01801, allocations: 12 kB / 0.8906 GB, free: 9.309 MB / 0.8542 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.0001008/0.01811, allocations: 169.4 kB / 0.8907 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.01815, allocations: 59.77 kB / 0.8908 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.01842, allocations: 200.5 kB / 0.891 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01842, allocations: 7.938 kB / 0.891 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01842, allocations: 0 / 0.891 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01843, allocations: 0 / 0.891 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.01865, allocations: 304.3 kB / 0.8913 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01865, allocations: 0 / 0.8913 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01875, allocations: 31.98 kB / 0.8913 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01875, allocations: 4 kB / 0.8913 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01877, allocations: 7.984 kB / 0.8913 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01877, allocations: 0 / 0.8913 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01877, allocations: 11.88 kB / 0.8913 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.01909, allocations: 272 kB / 0.8916 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.01917, allocations: 67.66 kB / 0.8917 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.0192, allocations: 8 kB / 0.8917 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.01926, allocations: 8 kB / 0.8917 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.01932, allocations: 27.89 kB / 0.8917 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.01933, allocations: 8 kB / 0.8917 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001799/0.01951, allocations: 291.1 kB / 0.892 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01951, allocations: 0 / 0.892 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002135/0.01973, allocations: 79.78 kB / 0.8921 GB, free: 7.715 MB / 0.8542 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.0007813/0.02051, allocations: 420 kB / 0.8925 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.02073, allocations: 130.6 kB / 0.8926 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.02074, allocations: 0 / 0.8926 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.02083, allocations: 83.52 kB / 0.8927 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.02113, allocations: 110.3 kB / 0.8928 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.02206, allocations: 0.6393 MB / 0.8934 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.327e-05/0.02212, allocations: 104.6 kB / 0.8935 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.02222, allocations: 51.25 kB / 0.8936 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.02229, allocations: 40.48 kB / 0.8936 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.02229, allocations: 4 kB / 0.8936 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of Templates: time 0.00702/0.02931, allocations: 5.183 MB / 0.8987 GB, free: 1.18 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.269480070564896]