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.001322/0.001322, 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.001625/0.001625, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9859/0.9859, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.099/2.099, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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 1.193e-06/1.193e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.515e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003244/0.003259, allocations: 2.916 MB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.005451, allocations: 1.678 MB / 0.8826 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.005707, allocations: 16.81 kB / 0.8827 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.006155, allocations: 107.1 kB / 0.8828 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.006591, allocations: 188.8 kB / 0.8829 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.007251, allocations: 407.6 kB / 0.8833 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.007719, allocations: 0.5576 MB / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.007939, allocations: 133.8 kB / 0.884 GB, free: 332 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.008244, allocations: 299.1 kB / 0.8843 GB, free: 32 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.008456, allocations: 155.5 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.008501, allocations: 40 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.008644, allocations: 112.5 kB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.008737, allocations: 112.1 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.008829, allocations: 123.6 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.009229, allocations: 403.3 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.009231, allocations: 0 / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.92e-07/0.009232, allocations: 0 / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.009237, allocations: 0.75 kB / 0.8852 GB, free: 15.11 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.0008055/0.01004, allocations: 0.8371 MB / 0.886 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.01007, allocations: 12.03 kB / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.01025, allocations: 92.59 kB / 0.8861 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.01074, allocations: 418.4 kB / 0.8865 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.01077, allocations: 21.03 kB / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.01081, allocations: 28.38 kB / 0.8866 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.01115, allocations: 328.8 kB / 0.8869 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.01116, allocations: 0 / 0.8869 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.01118, allocations: 12 kB / 0.8869 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.01119, allocations: 8 kB / 0.8869 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.01137, allocations: 102.9 kB / 0.887 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.01221, allocations: 1.097 MB / 0.8881 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.01249, allocations: 151.4 kB / 0.8882 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.01257, allocations: 59.66 kB / 0.8883 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01259, allocations: 4 kB / 0.8883 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.01275, allocations: 118.5 kB / 0.8884 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.302e-06/0.01275, allocations: 0 / 0.8884 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003624/0.01311, allocations: 231.3 kB / 0.8886 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.01314, allocations: 81.11 kB / 0.8887 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.01343, allocations: 438.6 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01345, allocations: 29.7 kB / 0.8891 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.01359, allocations: 291.3 kB / 0.8894 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.01363, allocations: 79.31 kB / 0.8895 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.0137, allocations: 67.34 kB / 0.8895 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002672/0.01397, allocations: 0.5235 MB / 0.89 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.01403, allocations: 35.97 kB / 0.8901 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01415, allocations: 166.3 kB / 0.8902 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.01431, allocations: 148.5 kB / 0.8904 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01431, allocations: 0 / 0.8904 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002494/0.01456, allocations: 217.1 kB / 0.8906 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01457, allocations: 4 kB / 0.8906 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01458, allocations: 4 kB / 0.8906 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.0146, allocations: 8.094 kB / 0.8906 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01473, allocations: 51.91 kB / 0.8907 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01473, allocations: 0 / 0.8907 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/0.01481, allocations: 31.83 kB / 0.8907 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01483, allocations: 4 kB / 0.8907 GB, free: 9.137 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.000102/0.01493, allocations: 181.4 kB / 0.8909 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.01497, allocations: 51.7 kB / 0.8909 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.01524, allocations: 208.5 kB / 0.8911 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01524, allocations: 7.938 kB / 0.8911 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01525, allocations: 0 / 0.8911 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01525, allocations: 0 / 0.8911 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.01547, allocations: 304.3 kB / 0.8914 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01547, allocations: 0 / 0.8914 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.01557, allocations: 27.98 kB / 0.8914 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01557, allocations: 4 kB / 0.8914 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01559, allocations: 7.984 kB / 0.8914 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01559, allocations: 4 kB / 0.8914 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01559, allocations: 7.875 kB / 0.8915 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.01592, allocations: 280 kB / 0.8917 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.016, allocations: 59.66 kB / 0.8918 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.01603, allocations: 8 kB / 0.8918 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.149e-05/0.01609, allocations: 11.94 kB / 0.8918 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.01615, allocations: 27.89 kB / 0.8918 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.01617, allocations: 4 kB / 0.8918 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001819/0.01635, allocations: 291 kB / 0.8921 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01635, allocations: 0 / 0.8921 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002082/0.01656, allocations: 79.78 kB / 0.8922 GB, free: 7.535 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.0008171/0.01737, allocations: 415.6 kB / 0.8926 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.01762, allocations: 134.2 kB / 0.8927 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01762, allocations: 0 / 0.8927 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.01773, allocations: 79.52 kB / 0.8928 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01805, allocations: 118.8 kB / 0.8929 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.01901, allocations: 0.6489 MB / 0.8935 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.814e-05/0.01907, allocations: 108.6 kB / 0.8936 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.01917, allocations: 43.27 kB / 0.8937 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.01924, allocations: 36.48 kB / 0.8937 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01924, allocations: 0 / 0.8937 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of Templates: time 0.007145/0.02639, allocations: 4.963 MB / 0.8986 GB, free: 1.223 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.527187254745513]