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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009668/0.0009668, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007634/0.007635, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.95/2.95, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004028, allocations: 12.75 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4178, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004429/0.4223, allocations: 2.582 MB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.4254, allocations: 1.457 MB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.4257, allocations: 15.94 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.4262, allocations: 87.47 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.4265, allocations: 111.4 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4275, allocations: 373.5 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.4281, allocations: 499.2 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.4285, allocations: 201.7 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.4288, allocations: 155 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.429, allocations: 159 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.4291, allocations: 11.94 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.4292, allocations: 59.95 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.4294, allocations: 67.69 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.4296, allocations: 196.4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.4302, allocations: 0.5412 MB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4302, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4303, allocations: 4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4303, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 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.001221/0.4315, allocations: 0.7183 MB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4315, allocations: 8.031 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.4316, allocations: 52.28 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.4323, allocations: 434.4 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.4323, allocations: 20.94 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.4324, allocations: 27.94 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.4331, allocations: 335.9 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4331, allocations: 0 / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.4331, allocations: 12 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4331, allocations: 8 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/0.4337, allocations: 222.1 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.4351, allocations: 1.1 MB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.4358, allocations: 241.1 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.436, allocations: 124.8 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.4361, allocations: 7.984 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.4365, allocations: 162.1 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 3.427e-06/0.4365, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008683/0.4374, allocations: 360.8 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.4375, allocations: 110.8 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.4381, allocations: 453.9 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.4381, allocations: 29.7 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4383, allocations: 228.4 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.4384, allocations: 71 kB / 1.07 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.4384, allocations: 33.7 kB / 1.07 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4386, allocations: 350.8 kB / 1.07 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.4388, allocations: 87.95 kB / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.4392, allocations: 172.1 kB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.4396, allocations: 228 kB / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4397, allocations: 4 kB / 1.07 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005931/0.4403, allocations: 312.6 kB / 1.071 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4403, allocations: 4 kB / 1.071 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4403, allocations: 8.156 kB / 1.071 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4403, allocations: 0 / 1.071 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4406, allocations: 55.91 kB / 1.071 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4406, allocations: 4 kB / 1.071 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.4408, allocations: 31.77 kB / 1.071 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4408, allocations: 8 kB / 1.071 GB, free: 8.652 MB / 0.8262 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.000219/0.441, allocations: 186.2 kB / 1.071 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.4411, allocations: 47.38 kB / 1.071 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.4412, allocations: 47.83 kB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4412, allocations: 4 kB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4412, allocations: 0 / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4413, allocations: 4.031 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.4417, allocations: 417.2 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.4417, allocations: 7.938 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.4419, allocations: 39.91 kB / 1.072 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.4419, allocations: 4 kB / 1.072 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.442, allocations: 11.98 kB / 1.072 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.442, allocations: 0 / 1.072 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.442, allocations: 0 / 1.072 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008601/0.4428, allocations: 426.7 kB / 1.072 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.443, allocations: 152.4 kB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.4431, allocations: 4 kB / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4432, allocations: 15.98 kB / 1.072 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.4433, allocations: 23.91 kB / 1.072 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.4434, allocations: 11.94 kB / 1.072 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004115/0.4438, allocations: 323.2 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4438, allocations: 0 / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000379/0.4442, allocations: 75.84 kB / 1.073 GB, free: 6.793 MB / 0.8262 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.001263/0.4455, allocations: 422.7 kB / 1.073 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.4461, allocations: 233.7 kB / 1.073 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.4461, allocations: 0 / 1.073 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.4464, allocations: 115.9 kB / 1.073 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.447, allocations: 107.5 kB / 1.073 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.4485, allocations: 0.8288 MB / 1.074 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.449, allocations: 0.8073 MB / 1.075 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000208/0.4492, allocations: 59.17 kB / 1.075 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.4493, allocations: 35.42 kB / 1.075 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.4493, allocations: 0 / 1.075 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of Templates: time 0.009762/0.4591, allocations: 4.482 MB / 1.079 GB, free: 15.91 MB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches