Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 95 kB / 15.05 MB, free: 1.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003568, allocations: 12 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.7842, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003287/0.7876, allocations: 2.453 MB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.7901, allocations: 1.368 MB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.7904, allocations: 11.94 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.7908, allocations: 71.48 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.7915, allocations: 139.6 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.7926, allocations: 329 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006987/0.7933, allocations: 324 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.7937, allocations: 136.4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.794, allocations: 155.3 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.7943, allocations: 131.2 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.7943, allocations: 12 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.7945, allocations: 59.83 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.7946, allocations: 67.62 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.7947, allocations: 97.45 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.7952, allocations: 444.9 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7953, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7953, allocations: 4 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.7953, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.7794 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.001378/0.7967, allocations: 0.7259 MB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7967, allocations: 15.92 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.7969, allocations: 55.34 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.7976, allocations: 417.6 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.7976, allocations: 24.5 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.7977, allocations: 31.95 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.7983, allocations: 324 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7983, allocations: 3.938 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.7984, allocations: 12 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.7984, allocations: 7.984 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.7989, allocations: 218.1 kB / 1.028 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.8005, allocations: 1.101 MB / 1.029 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.8011, allocations: 239.5 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.8012, allocations: 8.188 kB / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004153/0.8016, allocations: 159.3 kB / 1.03 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/0.8016, allocations: 4 kB / 1.03 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008468/0.8025, allocations: 357.9 kB / 1.03 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.8026, allocations: 110.8 kB / 1.03 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.8031, allocations: 442 kB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.8031, allocations: 29.7 kB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.8033, allocations: 236.3 kB / 1.031 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.8034, allocations: 79 kB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.8034, allocations: 7.938 kB / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.8036, allocations: 350.8 kB / 1.031 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.8038, allocations: 87.95 kB / 1.031 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.8041, allocations: 155.7 kB / 1.031 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.8043, allocations: 105.5 kB / 1.032 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8044, allocations: 4 kB / 1.032 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006118/0.805, allocations: 302.1 kB / 1.032 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.805, allocations: 11.94 kB / 1.032 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.805, allocations: 0 / 1.032 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.805, allocations: 7.984 kB / 1.032 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.8053, allocations: 51.97 kB / 1.032 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8053, allocations: 3.938 kB / 1.032 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.8055, allocations: 35.73 kB / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.8055, allocations: 11.94 kB / 1.032 GB, free: 5.359 MB / 0.7794 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 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.8057, allocations: 181.8 kB / 1.032 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.8058, allocations: 47.39 kB / 1.032 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/0.8059, allocations: 43.84 kB / 1.032 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8059, allocations: 4 kB / 1.032 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.8059, allocations: 3.984 kB / 1.032 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8059, allocations: 0 / 1.032 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.8064, allocations: 405.4 kB / 1.033 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8064, allocations: 0 / 1.033 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.8066, allocations: 47.97 kB / 1.033 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8066, allocations: 0 / 1.033 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.8066, allocations: 7.953 kB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.8066, allocations: 4 kB / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8067, allocations: 0 / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.8075, allocations: 439 kB / 1.033 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.8077, allocations: 140.5 kB / 1.033 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.8078, allocations: 11.98 kB / 1.033 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.8079, allocations: 15.94 kB / 1.033 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.808, allocations: 20.05 kB / 1.033 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.8081, allocations: 15.98 kB / 1.033 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000354/0.8084, allocations: 311.1 kB / 1.034 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8084, allocations: 0 / 1.034 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003539/0.8088, allocations: 83.75 kB / 1.034 GB, free: 3.52 MB / 0.7794 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.8098, allocations: 439.7 kB / 1.034 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006141/0.8105, allocations: 223.7 kB / 1.034 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8105, allocations: 0 / 1.034 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.8108, allocations: 124.7 kB / 1.034 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.8113, allocations: 86.28 kB / 1.035 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.8128, allocations: 0.782 MB / 1.035 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.8132, allocations: 0.819 MB / 1.036 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.8135, allocations: 55.23 kB / 1.036 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.8136, allocations: 43.42 kB / 1.036 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.296e-06/0.8136, allocations: 0 / 1.036 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.009682/0.8233, allocations: 4.348 MB / 1.04 GB, free: 12.81 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches