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.001505/0.001505, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001613/0.001613, allocations: 165 kB / 23.82 MB, free: 0.75 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.9936/0.9936, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.841/1.841, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.774e-06/1.774e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.992e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00584/0.00587, allocations: 2.912 MB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00351/0.00938, allocations: 1.674 MB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.00974, allocations: 15.88 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.01022, allocations: 104 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006379/0.01086, allocations: 196.7 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.01192, allocations: 397.3 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.01364, allocations: 0.5588 MB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.01396, allocations: 129.8 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.01453, allocations: 311.1 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.01484, allocations: 157.6 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.01493, allocations: 40 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.01516, allocations: 103.9 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.0153, allocations: 115.5 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.01546, allocations: 124.5 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.01611, allocations: 402.4 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01612, allocations: 0 / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01612, allocations: 1.281 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.01613, allocations: 0 / 0.8186 GB, free: 10.51 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.001272/0.0174, allocations: 0.8292 MB / 0.8194 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.01744, allocations: 9.594 kB / 0.8194 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.01774, allocations: 96.53 kB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.01845, allocations: 416 kB / 0.8199 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.01849, allocations: 21.53 kB / 0.8199 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.01855, allocations: 28.36 kB / 0.8199 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.0191, allocations: 330.5 kB / 0.8202 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01911, allocations: 0 / 0.8202 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.01915, allocations: 12 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01916, allocations: 9.031 kB / 0.8202 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005666/0.01973, allocations: 104.4 kB / 0.8203 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.02117, allocations: 1.093 MB / 0.8214 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.02161, allocations: 148.5 kB / 0.8216 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.02174, allocations: 65.88 kB / 0.8216 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.02177, allocations: 4.75 kB / 0.8216 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.02201, allocations: 115.4 kB / 0.8217 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.02201, allocations: 0.9375 kB / 0.8217 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0005459/0.02255, allocations: 225.7 kB / 0.8219 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.0226, allocations: 81.11 kB / 0.822 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.02332, allocations: 435.9 kB / 0.8224 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.02335, allocations: 33.7 kB / 0.8225 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.02354, allocations: 287.3 kB / 0.8227 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.02361, allocations: 80.19 kB / 0.8228 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.02371, allocations: 59.36 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.02389, allocations: 0.5235 MB / 0.8234 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.024, allocations: 32.86 kB / 0.8234 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.02418, allocations: 174.1 kB / 0.8236 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.02444, allocations: 145.9 kB / 0.8237 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02444, allocations: 1.875 kB / 0.8237 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004158/0.02486, allocations: 218.9 kB / 0.8239 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.02487, allocations: 7.531 kB / 0.8239 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.02488, allocations: 4 kB / 0.8239 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.0249, allocations: 11.39 kB / 0.824 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.02513, allocations: 51.91 kB / 0.824 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.02513, allocations: 4 kB / 0.824 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.02528, allocations: 23.88 kB / 0.824 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.0253, allocations: 8 kB / 0.824 GB, free: 4.574 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.0001478/0.02545, allocations: 178 kB / 0.8242 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.02552, allocations: 51.72 kB / 0.8243 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.02594, allocations: 209.8 kB / 0.8245 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.02595, allocations: 8.781 kB / 0.8245 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.02595, allocations: 0 / 0.8245 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.02596, allocations: 1.125 kB / 0.8245 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.02631, allocations: 300.3 kB / 0.8248 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.02631, allocations: 4 kB / 0.8248 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.0265, allocations: 32.88 kB / 0.8248 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.0265, allocations: 4 kB / 0.8248 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.02652, allocations: 5.094 kB / 0.8248 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.02653, allocations: 0 / 0.8248 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.02653, allocations: 11.86 kB / 0.8248 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.02708, allocations: 279.5 kB / 0.8251 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.0272, allocations: 65.56 kB / 0.8251 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.02725, allocations: 8 kB / 0.8251 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.02737, allocations: 11.98 kB / 0.8252 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.02745, allocations: 27.89 kB / 0.8252 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.02748, allocations: 11.28 kB / 0.8252 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003122/0.02779, allocations: 287.1 kB / 0.8255 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/0.02779, allocations: 0 / 0.8255 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003814/0.02817, allocations: 83.77 kB / 0.8256 GB, free: 2.969 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.001229/0.0294, allocations: 420.7 kB / 0.826 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.02975, allocations: 129.8 kB / 0.8261 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02976, allocations: 0 / 0.8261 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.02992, allocations: 81.75 kB / 0.8262 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.03041, allocations: 110.5 kB / 0.8263 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.03194, allocations: 0.6431 MB / 0.8269 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.754e-05/0.03203, allocations: 104.6 kB / 0.827 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.0322, allocations: 51.23 kB / 0.827 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.03231, allocations: 44.48 kB / 0.8271 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.03231, allocations: 0 / 0.8271 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.01079/0.0431, allocations: 4.947 MB / 0.8319 GB, free: 12.69 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: 5.2233835849910975]