Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.1 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009559/0.0009557, allocations: 88.86 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.924e-05/4.927e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2463, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7682/1.015, allocations: 142.3 MB / 1.031 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.015, allocations: 101.9 kB / 1.031 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02824/1.043, allocations: 10.62 MB / 1.041 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.473e-06/1.043, allocations: 0 / 1.041 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.298e-05/1.043, allocations: 8.219 kB / 1.041 GB, free: 15.59 MB / 0.6667 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.001051/1.044, allocations: 0.6861 MB / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.044, allocations: 8.031 kB / 1.042 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.044, allocations: 59.64 kB / 1.042 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/1.045, allocations: 432.9 kB / 1.042 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/1.045, allocations: 22.69 kB / 1.042 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/1.045, allocations: 30.69 kB / 1.042 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/1.046, allocations: 326.2 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.046, allocations: 3.938 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/1.046, allocations: 13.31 kB / 1.043 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.046, allocations: 8 kB / 1.043 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/1.046, allocations: 201.7 kB / 1.043 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/1.048, allocations: 1.163 MB / 1.044 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/1.048, allocations: 233.8 kB / 1.044 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/1.048, allocations: 102.5 kB / 1.044 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/1.048, allocations: 4.188 kB / 1.044 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/1.049, allocations: 154.9 kB / 1.045 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/1.049, allocations: 0 / 1.045 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.0005244/1.049, allocations: 250.7 kB / 1.045 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.049, allocations: 176.9 kB / 1.045 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/1.05, allocations: 406.5 kB / 1.045 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/1.05, allocations: 36.7 kB / 1.045 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.05, allocations: 232.7 kB / 1.046 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/1.05, allocations: 77.62 kB / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/1.05, allocations: 3.875 kB / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.05, allocations: 352.8 kB / 1.046 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/1.051, allocations: 81.12 kB / 1.046 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/1.051, allocations: 159.7 kB / 1.046 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/1.051, allocations: 88.78 kB / 1.046 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.051, allocations: 0 / 1.046 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004278/1.051, allocations: 280.4 kB / 1.047 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.051, allocations: 8.125 kB / 1.047 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.051, allocations: 0 / 1.047 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.051, allocations: 4 kB / 1.047 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/1.052, allocations: 59.78 kB / 1.047 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.052, allocations: 0 / 1.047 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/1.052, allocations: 46.73 kB / 1.047 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/1.052, allocations: 15.75 kB / 1.047 GB, free: 10.75 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001119/1.052, allocations: 123.4 kB / 1.047 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/1.052, allocations: 43.44 kB / 1.047 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/1.053, allocations: 281 kB / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.053, allocations: 4 kB / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.053, allocations: 0 / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.053, allocations: 3.984 kB / 1.047 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/1.053, allocations: 438.8 kB / 1.048 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.053, allocations: 4 kB / 1.048 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/1.053, allocations: 47.78 kB / 1.048 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.053, allocations: 3.938 kB / 1.048 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.054, allocations: 11.92 kB / 1.048 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.054, allocations: 0 / 1.048 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.054, allocations: 0 / 1.048 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/1.054, allocations: 417.5 kB / 1.048 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/1.054, allocations: 154.5 kB / 1.048 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/1.054, allocations: 15 kB / 1.048 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/1.055, allocations: 23.97 kB / 1.048 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/1.055, allocations: 19.47 kB / 1.048 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/1.055, allocations: 7.062 kB / 1.048 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003679/1.055, allocations: 324.5 kB / 1.049 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/1.055, allocations: 4.062 kB / 1.049 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003974/1.056, allocations: 102.1 kB / 1.049 GB, free: 9.105 MB / 0.6667 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) * 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 (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.0009898/1.057, allocations: 401.7 kB / 1.049 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004333/1.057, allocations: 219.2 kB / 1.049 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.057, allocations: 0 / 1.049 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/1.057, allocations: 109.8 kB / 1.049 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/1.058, allocations: 111.2 kB / 1.049 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/1.059, allocations: 0.5083 MB / 1.05 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/1.059, allocations: 0.83 MB / 1.051 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002309/1.06, allocations: 55.23 kB / 1.051 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.06, allocations: 34.25 kB / 1.051 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/1.06, allocations: 4 kB / 1.051 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of Templates: time 0.01197/1.072, allocations: 5.103 MB / 1.056 GB, free: 2.047 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches