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.496/1.496, allocations: 249.5 MB / 257 MB, free: 6.938 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.001111/0.001111, allocations: 185.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001023/0.001023, allocations: 96.42 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.182e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2514, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7766/1.028, allocations: 142.6 MB / 1.024 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.028, allocations: 102.4 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02775/1.056, allocations: 10.54 MB / 1.035 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.088e-06/1.056, allocations: 0 / 1.035 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.239e-05/1.056, allocations: 19.92 kB / 1.035 GB, free: 2.648 MB / 0.6511 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.001098/1.057, allocations: 0.6806 MB / 1.036 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.057, allocations: 8.031 kB / 1.036 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/1.057, allocations: 59.64 kB / 1.036 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/1.058, allocations: 443 kB / 1.036 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/1.058, allocations: 8 kB / 1.036 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/1.058, allocations: 16 kB / 1.036 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000334/1.059, allocations: 175.2 kB / 1.036 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/1.059, allocations: 296.3 kB / 1.036 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.059, allocations: 0 / 1.036 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/1.059, allocations: 0 / 1.036 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/1.059, allocations: 11.95 kB / 1.037 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/1.061, allocations: 1.102 MB / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/1.061, allocations: 221.2 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/1.061, allocations: 89.55 kB / 1.038 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/1.061, allocations: 192 / 1.038 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/1.062, allocations: 145.6 kB / 1.038 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=23): time 3.647e-06/1.062, allocations: 7.984 kB / 1.038 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.0004686/1.062, allocations: 247.8 kB / 1.038 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.455e-05/1.062, allocations: 158.2 kB / 1.038 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/1.063, allocations: 365.1 kB / 1.039 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/1.063, allocations: 28.83 kB / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/1.063, allocations: 238.6 kB / 1.039 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/1.063, allocations: 64.77 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/1.063, allocations: 0 / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.063, allocations: 358.4 kB / 1.039 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.063, allocations: 78 kB / 1.039 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/1.063, allocations: 154.9 kB / 1.04 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/1.063, allocations: 78.97 kB / 1.04 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.063, allocations: 4 kB / 1.04 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000396/1.064, allocations: 260.2 kB / 1.04 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.064, allocations: 4 kB / 1.04 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.064, allocations: 0 / 1.04 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.064, allocations: 4 kB / 1.04 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/1.064, allocations: 60.03 kB / 1.04 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.064, allocations: 0 / 1.04 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/1.064, allocations: 35.81 kB / 1.04 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/1.065, allocations: 7.375 kB / 1.04 GB, free: 14.02 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.0001153/1.065, allocations: 116.9 kB / 1.04 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/1.065, allocations: 43.53 kB / 1.04 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/1.065, allocations: 261.5 kB / 1.04 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.065, allocations: 4 kB / 1.04 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.065, allocations: 0 / 1.04 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.065, allocations: 0 / 1.04 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/1.066, allocations: 405.3 kB / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.066, allocations: 0 / 1.041 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/1.066, allocations: 47.91 kB / 1.041 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.066, allocations: 4 kB / 1.041 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/1.066, allocations: 3.188 kB / 1.041 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.066, allocations: 8.062 kB / 1.041 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.066, allocations: 0 / 1.041 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/1.066, allocations: 401.5 kB / 1.041 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/1.067, allocations: 147.8 kB / 1.041 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/1.067, allocations: 7.984 kB / 1.041 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.067, allocations: 20.05 kB / 1.041 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/1.067, allocations: 23.47 kB / 1.042 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.067, allocations: 7.438 kB / 1.042 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003065/1.067, allocations: 291.6 kB / 1.042 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.067, allocations: 0 / 1.042 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000372/1.068, allocations: 98.55 kB / 1.042 GB, free: 12.47 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.0008648/1.069, allocations: 376.3 kB / 1.042 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003773/1.069, allocations: 205.4 kB / 1.042 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.069, allocations: 0 / 1.042 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/1.069, allocations: 107.4 kB / 1.043 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/1.07, allocations: 100 kB / 1.043 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/1.071, allocations: 0.4941 MB / 1.043 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/1.071, allocations: 0.8264 MB / 1.044 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002052/1.071, allocations: 51.27 kB / 1.044 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/1.071, allocations: 31.42 kB / 1.044 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/1.071, allocations: 3.938 kB / 1.044 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of Templates: time 0.009254/1.081, allocations: 4.663 MB / 1.049 GB, free: 5.926 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