Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009406/0.0009406, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009191/0.0009191, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9087/0.9087, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.795/1.795, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8115 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.901e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003873/0.003892, allocations: 2.895 MB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.005778, allocations: 1.663 MB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.005999, allocations: 15.88 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.006604, allocations: 107.1 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.006952, allocations: 193.8 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.00752, allocations: 396.5 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.007933, allocations: 0.5659 MB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.008125, allocations: 129.8 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.008421, allocations: 300.2 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.00858, allocations: 160.1 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.008622, allocations: 40 kB / 0.8178 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.008764, allocations: 112.4 kB / 0.8179 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/0.008853, allocations: 112.9 kB / 0.818 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.008949, allocations: 127.6 kB / 0.8181 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.009334, allocations: 402.4 kB / 0.8185 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.009336, allocations: 0 / 0.8185 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.91e-07/0.009336, allocations: 1.156 kB / 0.8185 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.009341, allocations: 0 / 0.8185 GB, free: 10.74 MB / 0.7761 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.0008103/0.01015, allocations: 0.8297 MB / 0.8193 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.01018, allocations: 11.97 kB / 0.8193 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.01037, allocations: 93.58 kB / 0.8194 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.01082, allocations: 404.3 kB / 0.8198 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.01085, allocations: 30.55 kB / 0.8198 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.01088, allocations: 28.38 kB / 0.8199 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.01123, allocations: 324.8 kB / 0.8202 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.01124, allocations: 1.219 kB / 0.8202 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.01126, allocations: 12 kB / 0.8202 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.01127, allocations: 8 kB / 0.8202 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.01144, allocations: 106 kB / 0.8203 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.0123, allocations: 1.097 MB / 0.8214 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.01257, allocations: 151.3 kB / 0.8215 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.01265, allocations: 60.16 kB / 0.8216 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.01267, allocations: 5.938 kB / 0.8216 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.01282, allocations: 111.6 kB / 0.8217 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.704e-06/0.01283, allocations: 0 / 0.8217 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0003552/0.01318, allocations: 228 kB / 0.8219 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.01322, allocations: 85.94 kB / 0.822 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.01352, allocations: 434.6 kB / 0.8224 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01354, allocations: 34.55 kB / 0.8224 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01368, allocations: 283.3 kB / 0.8227 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.01372, allocations: 80.66 kB / 0.8228 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.01379, allocations: 55.36 kB / 0.8228 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003931/0.01418, allocations: 0.5235 MB / 0.8233 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.01425, allocations: 38.42 kB / 0.8234 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.01437, allocations: 176.8 kB / 0.8236 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01453, allocations: 144.8 kB / 0.8237 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01453, allocations: 0 / 0.8237 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002521/0.01479, allocations: 222.7 kB / 0.8239 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.0148, allocations: 4 kB / 0.8239 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.0148, allocations: 4.938 kB / 0.8239 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.01481, allocations: 3.938 kB / 0.8239 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.01495, allocations: 57 kB / 0.824 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01495, allocations: 0 / 0.824 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.01504, allocations: 23.83 kB / 0.824 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01505, allocations: 13.05 kB / 0.824 GB, free: 4.801 MB / 0.7761 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.0001031/0.01515, allocations: 174 kB / 0.8242 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.0152, allocations: 52.84 kB / 0.8242 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.01547, allocations: 208.4 kB / 0.8244 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01547, allocations: 7.938 kB / 0.8244 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01548, allocations: 0 / 0.8244 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01548, allocations: 1.656 kB / 0.8244 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.0157, allocations: 304.3 kB / 0.8247 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01571, allocations: 4 kB / 0.8247 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01581, allocations: 31.97 kB / 0.8248 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01582, allocations: 8.438 kB / 0.8248 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01583, allocations: 4 kB / 0.8248 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01583, allocations: 1.156 kB / 0.8248 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01583, allocations: 3.938 kB / 0.8248 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.01617, allocations: 277 kB / 0.825 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.01624, allocations: 67.62 kB / 0.8251 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.01628, allocations: 9.344 kB / 0.8251 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.01634, allocations: 7.984 kB / 0.8251 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.0164, allocations: 27.91 kB / 0.8251 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.01641, allocations: 9.078 kB / 0.8251 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001874/0.0166, allocations: 287.1 kB / 0.8254 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0166, allocations: 0 / 0.8254 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002165/0.01682, allocations: 84.42 kB / 0.8255 GB, free: 3.203 MB / 0.7761 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.0007759/0.01759, allocations: 420.4 kB / 0.8259 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01782, allocations: 142 kB / 0.826 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01783, allocations: 0 / 0.826 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.01792, allocations: 71.89 kB / 0.8261 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.01824, allocations: 122.8 kB / 0.8262 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.01919, allocations: 0.6432 MB / 0.8269 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.583e-05/0.01925, allocations: 108.6 kB / 0.827 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000114/0.01936, allocations: 51.23 kB / 0.827 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.01943, allocations: 44.42 kB / 0.827 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.01943, allocations: 0 / 0.827 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of Templates: time 0.006797/0.02623, allocations: 4.948 MB / 0.8319 GB, free: 12.9 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.8534443059470505]