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.0009113/0.0009113, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009981/0.0009981, allocations: 185 kB / 24.09 MB, free: 416 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.9309/0.9309, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.947/1.947, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] 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.553e-06/1.553e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.899e-06/1.145e-05, allocations: 6.25 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002897/0.002909, allocations: 2.842 MB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.004869, allocations: 1.659 MB / 0.8164 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.005041, allocations: 15.88 kB / 0.8164 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.005336, allocations: 103.9 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.005648, allocations: 197.9 kB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.006131, allocations: 400.7 kB / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.006501, allocations: 0.5537 MB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.006681, allocations: 137.7 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.006961, allocations: 308.3 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.007109, allocations: 149.2 kB / 0.8182 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.009e-05/0.007149, allocations: 40 kB / 0.8182 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.007281, allocations: 107.9 kB / 0.8183 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.007361, allocations: 103.6 kB / 0.8184 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.007444, allocations: 127.5 kB / 0.8185 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.007779, allocations: 404.9 kB / 0.8189 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007782, allocations: 3.984 kB / 0.8189 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.22e-07/0.007782, allocations: 0 / 0.8189 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.007786, allocations: 0 / 0.8189 GB, free: 10.33 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.0007192/0.008505, allocations: 0.8247 MB / 0.8197 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.008538, allocations: 8.031 kB / 0.8198 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.008693, allocations: 94.73 kB / 0.8198 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.009045, allocations: 403.1 kB / 0.8202 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.00907, allocations: 25.53 kB / 0.8203 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.009101, allocations: 25.25 kB / 0.8203 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.009361, allocations: 272.6 kB / 0.8205 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.009371, allocations: 7.938 kB / 0.8205 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.009388, allocations: 15.92 kB / 0.8206 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.009396, allocations: 9.375 kB / 0.8206 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.0095, allocations: 75.42 kB / 0.8206 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.01024, allocations: 1.036 MB / 0.8217 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.01044, allocations: 140.2 kB / 0.8218 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.0105, allocations: 52.44 kB / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.01052, allocations: 6.125 kB / 0.8218 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.01064, allocations: 105 kB / 0.8219 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.01064, allocations: 0 / 0.8219 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0002667/0.01091, allocations: 203.6 kB / 0.8221 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.01093, allocations: 55.84 kB / 0.8222 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.01119, allocations: 430.4 kB / 0.8226 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.0112, allocations: 32.3 kB / 0.8226 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01134, allocations: 287.3 kB / 0.8229 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.01138, allocations: 79.31 kB / 0.823 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.01144, allocations: 63.31 kB / 0.823 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.01158, allocations: 0.5312 MB / 0.8236 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.01163, allocations: 23.97 kB / 0.8236 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.01171, allocations: 129.1 kB / 0.8237 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.01183, allocations: 137.8 kB / 0.8238 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01183, allocations: 1.344 kB / 0.8238 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001953/0.01203, allocations: 201.9 kB / 0.824 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.01204, allocations: 4 kB / 0.824 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01204, allocations: 4.656 kB / 0.824 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.01206, allocations: 3.984 kB / 0.824 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.01218, allocations: 47.67 kB / 0.8241 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01218, allocations: 7.875 kB / 0.8241 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.01225, allocations: 27.81 kB / 0.8241 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01227, allocations: 12 kB / 0.8241 GB, free: 4.719 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.937e-05/0.01237, allocations: 178 kB / 0.8243 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.0124, allocations: 47.72 kB / 0.8243 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.01263, allocations: 188.9 kB / 0.8245 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01263, allocations: 0 / 0.8245 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01263, allocations: 7.938 kB / 0.8245 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01264, allocations: 0 / 0.8245 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.01282, allocations: 240.9 kB / 0.8248 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01282, allocations: 1 kB / 0.8248 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.01292, allocations: 43.91 kB / 0.8248 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01292, allocations: 1.125 kB / 0.8248 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01293, allocations: 4 kB / 0.8248 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01293, allocations: 4 kB / 0.8248 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01293, allocations: 1.062 kB / 0.8248 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.01319, allocations: 258.5 kB / 0.8251 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.01326, allocations: 68.72 kB / 0.8251 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.01329, allocations: 4 kB / 0.8251 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.01335, allocations: 16.77 kB / 0.8252 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.01339, allocations: 15.97 kB / 0.8252 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.0134, allocations: 10.45 kB / 0.8252 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001361/0.01354, allocations: 274.9 kB / 0.8254 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01354, allocations: 0 / 0.8254 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002079/0.01375, allocations: 83.72 kB / 0.8255 GB, free: 3.254 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.000746/0.01449, allocations: 420.8 kB / 0.8259 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.01466, allocations: 115.3 kB / 0.826 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.01466, allocations: 0 / 0.826 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.01474, allocations: 78 kB / 0.8261 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.01503, allocations: 119 kB / 0.8262 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.01587, allocations: 0.6353 MB / 0.8268 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.01592, allocations: 104.6 kB / 0.8269 GB, free: 1.891 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.01602, allocations: 47.25 kB / 0.827 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.01618, allocations: 146.2 kB / 0.8271 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of SimCode: time 4.3e-07/0.01618, allocations: 4 kB / 0.8271 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.006922/0.0231, allocations: 5.292 MB / 0.8323 GB, free: 12.56 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.034438977017999]