Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001869/0.001869, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002129/0.002129, allocations: 194.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.89 kB / 0.8688 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6622, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004761/0.667, allocations: 2.965 MB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.6697, allocations: 1.481 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.67, allocations: 11.94 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.6705, allocations: 87.45 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.6709, allocations: 119.4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.6719, allocations: 372.9 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.6725, allocations: 0.5343 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.6729, allocations: 205.1 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.6732, allocations: 207 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.6735, allocations: 199 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.6736, allocations: 44 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.6737, allocations: 87.97 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.6739, allocations: 111.6 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.6741, allocations: 214.8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007168/0.6748, allocations: 0.5823 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6749, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.416e-06/0.6749, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6749, allocations: 3.938 kB / 1.024 GB, free: 11.66 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.001357/0.6762, allocations: 0.7921 MB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6763, allocations: 8.031 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.6764, allocations: 52.28 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.6771, allocations: 438.4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.6771, allocations: 20.94 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.6772, allocations: 31.94 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.6779, allocations: 327.9 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.6779, allocations: 0 / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.678, allocations: 12 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.678, allocations: 11.94 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.6785, allocations: 214.1 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.6802, allocations: 1.1 MB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.6809, allocations: 242.9 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.6811, allocations: 108.8 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.6812, allocations: 4 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.6816, allocations: 161.2 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.6816, allocations: 3.938 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008682/0.6825, allocations: 354.4 kB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.6826, allocations: 110.8 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.6831, allocations: 453.8 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.6832, allocations: 33.7 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.6834, allocations: 228.5 kB / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.6835, allocations: 75 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6836, allocations: 53.7 kB / 1.029 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6837, allocations: 350.8 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.684, allocations: 83.95 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.6843, allocations: 163.6 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.6847, allocations: 215.7 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6848, allocations: 0 / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006285/0.6854, allocations: 300.8 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6854, allocations: 12.03 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.6854, allocations: 0 / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6855, allocations: 4 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.6857, allocations: 47.91 kB / 1.03 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6857, allocations: 4 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.6859, allocations: 27.83 kB / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.686, allocations: 15.98 kB / 1.03 GB, free: 5.367 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 ($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.0002139/0.6862, allocations: 179 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.6862, allocations: 51.36 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.789e-05/0.6864, allocations: 43.83 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6864, allocations: 4 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6864, allocations: 0 / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6864, allocations: 0 / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.6868, allocations: 413.3 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6869, allocations: 3.938 kB / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.6871, allocations: 39.91 kB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6871, allocations: 11.88 kB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6871, allocations: 11.98 kB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.6871, allocations: 0 / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6871, allocations: 0 / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.688, allocations: 418.3 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.6882, allocations: 148.5 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.6883, allocations: 12 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.6885, allocations: 15.98 kB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.6885, allocations: 19.97 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.6886, allocations: 7.938 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003763/0.689, allocations: 323.1 kB / 1.031 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.689, allocations: 0 / 1.031 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003383/0.6893, allocations: 71.84 kB / 1.031 GB, free: 3.531 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 (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.001612/0.6909, allocations: 430.3 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006191/0.6916, allocations: 233.2 kB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6916, allocations: 0 / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.6918, allocations: 115.8 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.6924, allocations: 115.8 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6938, allocations: 0.8073 MB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.6943, allocations: 0.8148 MB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.6945, allocations: 55.23 kB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.6946, allocations: 47.36 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6946, allocations: 0 / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of Templates: time 0.01026/0.7049, allocations: 4.671 MB / 1.038 GB, free: 12.48 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches