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.001439/0.001439, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001164/0.001164, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.9753/0.9753, allocations: 177.2 MB / 205.3 MB, free: 5.488 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.835/1.835, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.763e-06/1.763e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.722e-05, allocations: 3.094 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003407/0.003434, allocations: 2.85 MB / 0.8156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.005717, allocations: 1.656 MB / 0.8172 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.006082, allocations: 15.88 kB / 0.8172 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.006492, allocations: 107.1 kB / 0.8173 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.00696, allocations: 192.7 kB / 0.8175 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.007689, allocations: 401.3 kB / 0.8179 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005/0.008189, allocations: 0.5537 MB / 0.8184 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.008402, allocations: 138.6 kB / 0.8185 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.008752, allocations: 307.1 kB / 0.8188 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.008946, allocations: 156.8 kB / 0.819 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.008992, allocations: 40 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.009174, allocations: 101.3 kB / 0.8191 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.009274, allocations: 107.5 kB / 0.8192 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.009377, allocations: 135.5 kB / 0.8193 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.009856, allocations: 399.5 kB / 0.8197 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.009859, allocations: 0 / 0.8197 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.009861, allocations: 0 / 0.8197 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.009866, allocations: 4 kB / 0.8197 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.0008602/0.01073, allocations: 0.8183 MB / 0.8205 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.01076, allocations: 8.031 kB / 0.8205 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.01096, allocations: 93.73 kB / 0.8206 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.01145, allocations: 412.9 kB / 0.821 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.01148, allocations: 21.03 kB / 0.821 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.01152, allocations: 32.31 kB / 0.8211 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.01182, allocations: 280.4 kB / 0.8213 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.01183, allocations: 0 / 0.8213 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.01185, allocations: 8 kB / 0.8213 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.01185, allocations: 11.31 kB / 0.8213 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.01197, allocations: 83.36 kB / 0.8214 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.01282, allocations: 1.023 MB / 0.8224 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.01321, allocations: 139.8 kB / 0.8226 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.01327, allocations: 53.58 kB / 0.8226 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.01329, allocations: 4 kB / 0.8226 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.01344, allocations: 111.6 kB / 0.8227 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.684e-06/0.01344, allocations: 0 / 0.8227 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0003217/0.01376, allocations: 206.5 kB / 0.8229 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.01379, allocations: 59.39 kB / 0.823 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.01412, allocations: 426.4 kB / 0.8234 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.01414, allocations: 30.89 kB / 0.8234 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.01428, allocations: 287.3 kB / 0.8237 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.01433, allocations: 75.3 kB / 0.8238 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.01439, allocations: 64.23 kB / 0.8238 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.01455, allocations: 0.5312 MB / 0.8243 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.01461, allocations: 24.81 kB / 0.8244 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.01471, allocations: 123.5 kB / 0.8245 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.01486, allocations: 144 kB / 0.8246 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01486, allocations: 3.938 kB / 0.8246 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002466/0.01511, allocations: 199.8 kB / 0.8248 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.01512, allocations: 11.02 kB / 0.8248 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01513, allocations: 4 kB / 0.8248 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01514, allocations: 3.938 kB / 0.8248 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.0153, allocations: 47.92 kB / 0.8249 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.0153, allocations: 7.922 kB / 0.8249 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.362e-05/0.0154, allocations: 23.89 kB / 0.8249 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01541, allocations: 12 kB / 0.8249 GB, free: 4.723 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.0001351/0.01555, allocations: 178.9 kB / 0.8251 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.0156, allocations: 47.72 kB / 0.8251 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.01587, allocations: 182.4 kB / 0.8253 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01587, allocations: 5.125 kB / 0.8253 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01587, allocations: 3.938 kB / 0.8253 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01588, allocations: 3.984 kB / 0.8253 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.0161, allocations: 242 kB / 0.8255 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01611, allocations: 0 / 0.8255 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.01622, allocations: 39.91 kB / 0.8256 GB, free: 4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01623, allocations: 1.25 kB / 0.8256 GB, free: 4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01624, allocations: 8 kB / 0.8256 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01624, allocations: 0 / 0.8256 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01624, allocations: 0.5 kB / 0.8256 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.01659, allocations: 262.7 kB / 0.8258 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.01668, allocations: 63.56 kB / 0.8259 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.01672, allocations: 9.062 kB / 0.8259 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.0168, allocations: 11.98 kB / 0.8259 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.01685, allocations: 19.97 kB / 0.8259 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.01688, allocations: 9.234 kB / 0.826 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000161/0.01704, allocations: 271 kB / 0.8262 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01704, allocations: 0 / 0.8262 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000274/0.01731, allocations: 88.8 kB / 0.8263 GB, free: 3.258 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.0008823/0.0182, allocations: 409.8 kB / 0.8267 GB, free: 3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.01841, allocations: 126.3 kB / 0.8268 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01842, allocations: 3.938 kB / 0.8268 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.01851, allocations: 71.56 kB / 0.8269 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.01884, allocations: 114.6 kB / 0.827 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.02002, allocations: 0.6356 MB / 0.8276 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.976e-05/0.02008, allocations: 104.6 kB / 0.8277 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.02021, allocations: 55.23 kB / 0.8278 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.02037, allocations: 150.1 kB / 0.8279 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.02037, allocations: 0 / 0.8279 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.008322/0.02869, allocations: 5.358 MB / 0.8331 GB, free: 12.5 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.176272549200803]