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.0009179/0.0009179, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.0008979/0.0008979, allocations: 161 kB / 23.82 MB, free: 0.7617 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.876/0.876, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.708/1.708, allocations: 377.9 MB / 0.6236 GB, free: 8.52 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.393e-06/1.393e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.048e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.007561/0.007582, allocations: 2.918 MB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005762/0.01334, allocations: 1.663 MB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.01365, allocations: 19.88 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.01409, allocations: 107.1 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000551/0.01465, allocations: 193.3 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.01549, allocations: 401 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.01604, allocations: 0.5615 MB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.01628, allocations: 134.6 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.01667, allocations: 307.1 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.01687, allocations: 148.5 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.01692, allocations: 41.47 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.01711, allocations: 107.9 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.01722, allocations: 111.5 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.01734, allocations: 119.6 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.01788, allocations: 400.3 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01788, allocations: 3.938 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01788, allocations: 0 / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.01789, allocations: 0 / 0.8185 GB, free: 10.54 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.001137/0.01903, allocations: 0.8217 MB / 0.8193 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.01907, allocations: 8.031 kB / 0.8194 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.01934, allocations: 93.55 kB / 0.8194 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.01996, allocations: 416.5 kB / 0.8198 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.02, allocations: 21.03 kB / 0.8199 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.02005, allocations: 24.38 kB / 0.8199 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.02057, allocations: 292.9 kB / 0.8202 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.02059, allocations: 4 kB / 0.8202 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.02061, allocations: 8 kB / 0.8202 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.02063, allocations: 8.844 kB / 0.8202 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.02092, allocations: 104.1 kB / 0.8203 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.02184, allocations: 1.09 MB / 0.8214 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.02213, allocations: 162.8 kB / 0.8215 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.02221, allocations: 61.19 kB / 0.8216 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.02223, allocations: 8 kB / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.02238, allocations: 105 kB / 0.8217 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 2.465e-06/0.02238, allocations: 1.219 kB / 0.8217 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0003552/0.02274, allocations: 232 kB / 0.8219 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.02276, allocations: 51.41 kB / 0.8219 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.02306, allocations: 445.7 kB / 0.8224 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.02308, allocations: 33.7 kB / 0.8224 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.02321, allocations: 279.4 kB / 0.8227 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.02326, allocations: 83.3 kB / 0.8227 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.02332, allocations: 55.36 kB / 0.8228 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.02345, allocations: 0.5274 MB / 0.8233 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.02352, allocations: 31.98 kB / 0.8233 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.02362, allocations: 136 kB / 0.8235 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.0238, allocations: 148.1 kB / 0.8236 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.0238, allocations: 8 kB / 0.8236 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002492/0.02405, allocations: 217.4 kB / 0.8238 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.02406, allocations: 9.031 kB / 0.8238 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.02407, allocations: 0 / 0.8238 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.02408, allocations: 7.938 kB / 0.8238 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.02422, allocations: 49.25 kB / 0.8239 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.02422, allocations: 4 kB / 0.8239 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.53e-05/0.0243, allocations: 19.89 kB / 0.8239 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.02431, allocations: 13.08 kB / 0.8239 GB, free: 4.734 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 9.913e-05/0.02441, allocations: 174 kB / 0.8241 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.02445, allocations: 52.38 kB / 0.8241 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.02472, allocations: 203.7 kB / 0.8243 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.02472, allocations: 11.92 kB / 0.8244 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.02473, allocations: 0 / 0.8244 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.02473, allocations: 0 / 0.8244 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.02495, allocations: 296.4 kB / 0.8246 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.02495, allocations: 6.938 kB / 0.8246 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.02506, allocations: 39.91 kB / 0.8247 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.02506, allocations: 4 kB / 0.8247 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.02507, allocations: 0 / 0.8247 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02507, allocations: 0 / 0.8247 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02508, allocations: 7.938 kB / 0.8247 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.0254, allocations: 282.5 kB / 0.825 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.02548, allocations: 68.56 kB / 0.825 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.0255, allocations: 4 kB / 0.825 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.02557, allocations: 13.08 kB / 0.825 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.02564, allocations: 23.91 kB / 0.8251 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.02567, allocations: 11.98 kB / 0.8251 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000189/0.02586, allocations: 288.1 kB / 0.8253 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02586, allocations: 0 / 0.8253 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002103/0.02607, allocations: 79.78 kB / 0.8254 GB, free: 3.141 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.000787/0.02686, allocations: 412.8 kB / 0.8258 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.02709, allocations: 135.3 kB / 0.8259 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.02709, allocations: 0 / 0.8259 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.02719, allocations: 82.02 kB / 0.826 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.0275, allocations: 112.5 kB / 0.8261 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.02846, allocations: 0.6409 MB / 0.8268 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/0.02852, allocations: 108.6 kB / 0.8269 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.02864, allocations: 51.23 kB / 0.8269 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.667e-05/0.0287, allocations: 36.48 kB / 0.8269 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.0287, allocations: 7.938 kB / 0.827 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of Templates: time 0.007095/0.0358, allocations: 5.172 MB / 0.832 GB, free: 12.64 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.741190466098487]