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.00666/0.00666, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001524/0.001524, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.447/1.447, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 66.66 kB / 0.899 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.429, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005518/0.4346, allocations: 2.96 MB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003181/0.4378, allocations: 1.492 MB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.4384, allocations: 15.88 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.4391, allocations: 95.45 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.4397, allocations: 111.4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.441, allocations: 364.2 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008014/0.4418, allocations: 495.2 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.4423, allocations: 201.1 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.4427, allocations: 175 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.4431, allocations: 183 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/0.4432, allocations: 20 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.4434, allocations: 67.97 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.4436, allocations: 87.55 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.4438, allocations: 178.8 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.4444, allocations: 471.2 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4444, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4445, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.4445, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 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.001703/0.4462, allocations: 0.7922 MB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4463, allocations: 11.97 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.4464, allocations: 52.28 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.4471, allocations: 434.4 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.4472, allocations: 24.98 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.4473, allocations: 31.94 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.448, allocations: 327.8 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.448, allocations: 0 / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.448, allocations: 12 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.448, allocations: 8 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.4486, allocations: 214.1 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.4502, allocations: 1.104 MB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.4509, allocations: 243.7 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.4511, allocations: 116.8 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.4512, allocations: 4 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.4516, allocations: 155.3 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.4516, allocations: 0 / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008979/0.4525, allocations: 352.7 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.4526, allocations: 110.8 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.4532, allocations: 453.9 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.4532, allocations: 29.7 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4534, allocations: 228.5 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.4535, allocations: 67 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.4537, allocations: 61.69 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4538, allocations: 350.8 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.454, allocations: 91.94 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.4543, allocations: 155.6 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.4548, allocations: 224.9 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4548, allocations: 0 / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006383/0.4555, allocations: 303 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4555, allocations: 9.875 kB / 1.065 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4555, allocations: 0 / 1.065 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4555, allocations: 4 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.4558, allocations: 51.91 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4558, allocations: 4 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.456, allocations: 35.67 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.4561, allocations: 8.109 kB / 1.065 GB, free: 11.09 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.0002221/0.4563, allocations: 177.8 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.4564, allocations: 43.47 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.4565, allocations: 47.83 kB / 1.066 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4565, allocations: 8.031 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4565, allocations: 0 / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4565, allocations: 3.938 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.457, allocations: 409.2 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.457, allocations: 3.938 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.4572, allocations: 47.91 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4572, allocations: 4 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.4573, allocations: 7.984 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4573, allocations: 0 / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4573, allocations: 0 / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.4581, allocations: 426.8 kB / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.4583, allocations: 140.5 kB / 1.067 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.4584, allocations: 4 kB / 1.067 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.4585, allocations: 15.98 kB / 1.067 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.4586, allocations: 23.91 kB / 1.067 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.4587, allocations: 7.938 kB / 1.067 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003543/0.459, allocations: 319.1 kB / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.459, allocations: 0 / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003687/0.4594, allocations: 79.91 kB / 1.067 GB, free: 9.262 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.001104/0.4605, allocations: 433.9 kB / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.4611, allocations: 219.6 kB / 1.068 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4611, allocations: 0 / 1.068 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.4614, allocations: 112.2 kB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.462, allocations: 106.7 kB / 1.068 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4634, allocations: 0.8418 MB / 1.069 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.4638, allocations: 0.8151 MB / 1.069 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4639, allocations: 39.42 kB / 1.069 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.4639, allocations: 3.938 kB / 1.069 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.01014/0.4741, allocations: 5.611 MB / 1.075 GB, free: 1.234 MB / 0.8262 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/jenkins1/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