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.001014/0.001014, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009573/0.0009573, allocations: 173 kB / 23.49 MB, free: 1.059 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.916/0.916, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.031/2.031, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.821e-05, allocations: 8.078 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003565/0.003593, allocations: 2.9 MB / 0.881 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.005783, allocations: 1.666 MB / 0.8826 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.006046, allocations: 15.88 kB / 0.8827 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.006444, allocations: 107.1 kB / 0.8828 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.006867, allocations: 189.4 kB / 0.8829 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.007529, allocations: 394.2 kB / 0.8833 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.008013, allocations: 0.5654 MB / 0.8839 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.00825, allocations: 129.8 kB / 0.884 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.008601, allocations: 299.1 kB / 0.8843 GB, free: 400 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.008784, allocations: 160.5 kB / 0.8844 GB, free: 240 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.008829, allocations: 40.66 kB / 0.8845 GB, free: 200 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.008994, allocations: 115.9 kB / 0.8846 GB, free: 84 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.009103, allocations: 105.3 kB / 0.8847 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.00921, allocations: 131.5 kB / 0.8848 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.009691, allocations: 402.4 kB / 0.8852 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.009695, allocations: 0 / 0.8852 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.282e-06/0.009696, allocations: 2.469 kB / 0.8852 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.009702, allocations: 0 / 0.8852 GB, free: 15.46 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.0009247/0.01063, allocations: 0.8357 MB / 0.886 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.01066, allocations: 10.09 kB / 0.886 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.01088, allocations: 88.59 kB / 0.8861 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.01136, allocations: 424.7 kB / 0.8865 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.01139, allocations: 21.03 kB / 0.8865 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.01143, allocations: 24.38 kB / 0.8865 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.0118, allocations: 330 kB / 0.8869 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.01181, allocations: 0 / 0.8869 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.01184, allocations: 12 kB / 0.8869 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01185, allocations: 11.98 kB / 0.8869 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.01204, allocations: 106.9 kB / 0.887 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.013, allocations: 1.097 MB / 0.8881 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.01332, allocations: 147.4 kB / 0.8882 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.01341, allocations: 59.66 kB / 0.8883 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.01343, allocations: 8 kB / 0.8883 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.01361, allocations: 112 kB / 0.8884 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.01361, allocations: 0 / 0.8884 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003945/0.014, allocations: 233 kB / 0.8886 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.01404, allocations: 81.11 kB / 0.8887 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.01437, allocations: 434.6 kB / 0.8891 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.01439, allocations: 33.7 kB / 0.8891 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.01455, allocations: 283.3 kB / 0.8894 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.0146, allocations: 83.31 kB / 0.8895 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.01467, allocations: 67.34 kB / 0.8895 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.0148, allocations: 0.5196 MB / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.01488, allocations: 35.97 kB / 0.8901 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.015, allocations: 170.1 kB / 0.8902 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.01518, allocations: 144 kB / 0.8904 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01518, allocations: 4.031 kB / 0.8904 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002713/0.01545, allocations: 213.7 kB / 0.8906 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01547, allocations: 7.938 kB / 0.8906 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01547, allocations: 4 kB / 0.8906 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01549, allocations: 3.938 kB / 0.8906 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.01564, allocations: 51.91 kB / 0.8906 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01564, allocations: 4 kB / 0.8906 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.534e-05/0.01573, allocations: 27.98 kB / 0.8907 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01574, allocations: 12 kB / 0.8907 GB, free: 9.492 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.000117/0.01586, allocations: 181.4 kB / 0.8909 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.0159, allocations: 51.72 kB / 0.8909 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.0162, allocations: 198.7 kB / 0.8911 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.01621, allocations: 7.938 kB / 0.8911 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01621, allocations: 0 / 0.8911 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01621, allocations: 0 / 0.8911 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.01646, allocations: 304.3 kB / 0.8914 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01646, allocations: 4 kB / 0.8914 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01658, allocations: 35.92 kB / 0.8914 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01658, allocations: 4 kB / 0.8914 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.0166, allocations: 7.984 kB / 0.8914 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.0166, allocations: 4 kB / 0.8915 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.0166, allocations: 3.938 kB / 0.8915 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.01697, allocations: 282.1 kB / 0.8917 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.01705, allocations: 63.67 kB / 0.8918 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.01709, allocations: 8 kB / 0.8918 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.01716, allocations: 8.031 kB / 0.8918 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.01722, allocations: 31.89 kB / 0.8918 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.01724, allocations: 4 kB / 0.8918 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001977/0.01744, allocations: 291 kB / 0.8921 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01744, allocations: 0 / 0.8921 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002357/0.01768, allocations: 79.78 kB / 0.8922 GB, free: 7.887 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.0009027/0.01858, allocations: 411 kB / 0.8926 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.01884, allocations: 139 kB / 0.8927 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01884, allocations: 4 kB / 0.8927 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.01895, allocations: 67.91 kB / 0.8928 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.0193, allocations: 115.6 kB / 0.8929 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.02045, allocations: 0.651 MB / 0.8935 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.414e-05/0.02051, allocations: 112.6 kB / 0.8936 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000131/0.02064, allocations: 47.27 kB / 0.8937 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.02072, allocations: 40.48 kB / 0.8937 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/0.02072, allocations: 0 / 0.8937 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of Templates: time 0.007876/0.0286, allocations: 4.95 MB / 0.8986 GB, free: 1.59 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.336875060107559]