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.001069/0.001069, 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.008978/0.008978, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.478/1.478, 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.865/2.865, allocations: 462.6 MB / 0.7364 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 13.19 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3979, allocations: 159.6 MB / 1.059 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004198/0.4022, allocations: 2.59 MB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003234/0.4054, allocations: 1.454 MB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.406, allocations: 15.88 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.4066, allocations: 83.47 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.4072, allocations: 115.4 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.4085, allocations: 382.2 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008275/0.4093, allocations: 495.2 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.4099, allocations: 197.7 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.4103, allocations: 155 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.4107, allocations: 155.1 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.4108, allocations: 8 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.4111, allocations: 55.84 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.4112, allocations: 71.62 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.4115, allocations: 196.5 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.4124, allocations: 0.5451 MB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4124, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.617e-06/0.4124, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.477e-05/0.4124, allocations: 0 / 1.065 GB, free: 15.02 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.00173/0.4142, allocations: 0.7183 MB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.4142, allocations: 8.031 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.4145, allocations: 60.27 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.4153, allocations: 422.5 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.4153, allocations: 20.94 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.4154, allocations: 27.94 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.4162, allocations: 339.9 kB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4162, allocations: 0 / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.4162, allocations: 15.98 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.4163, allocations: 4 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.4168, allocations: 226.1 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.4185, allocations: 1.108 MB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.4192, allocations: 242.9 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.4195, allocations: 116.8 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.4196, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.42, allocations: 163.2 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.4201, allocations: 4 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009303/0.421, allocations: 359.5 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.4211, allocations: 114.8 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.4217, allocations: 449.9 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.4217, allocations: 29.7 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.4219, allocations: 236.4 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.422, allocations: 74.94 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.4221, allocations: 29.7 kB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4222, allocations: 354.8 kB / 1.07 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.4225, allocations: 91.89 kB / 1.07 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.4228, allocations: 164.2 kB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.4232, allocations: 228.9 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4233, allocations: 0 / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006755/0.4239, allocations: 311.6 kB / 1.071 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.424, allocations: 17.08 kB / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.424, allocations: 0 / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.424, allocations: 4 kB / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.4243, allocations: 51.91 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4243, allocations: 0 / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.4245, allocations: 35.77 kB / 1.071 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.4245, allocations: 8 kB / 1.071 GB, free: 8.75 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.0002523/0.4248, allocations: 183.8 kB / 1.071 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.4249, allocations: 47.38 kB / 1.071 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.425, allocations: 47.83 kB / 1.071 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.425, allocations: 4 kB / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.425, allocations: 0 / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.425, allocations: 0 / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.4255, allocations: 417.2 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4255, allocations: 7.875 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.4257, allocations: 43.97 kB / 1.072 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4257, allocations: 0 / 1.072 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4258, allocations: 4 kB / 1.072 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4258, allocations: 4 kB / 1.072 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4258, allocations: 0 / 1.072 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009067/0.4267, allocations: 431 kB / 1.072 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.4269, allocations: 152.4 kB / 1.072 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.427, allocations: 8 kB / 1.072 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4271, allocations: 19.92 kB / 1.072 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.4272, allocations: 20.03 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.4272, allocations: 12 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004098/0.4277, allocations: 319.1 kB / 1.072 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4277, allocations: 0 / 1.072 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003802/0.4281, allocations: 79.83 kB / 1.073 GB, free: 6.895 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.001141/0.4292, allocations: 424.5 kB / 1.073 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.4298, allocations: 227.7 kB / 1.073 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4298, allocations: 0 / 1.073 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.4301, allocations: 119.9 kB / 1.073 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.4308, allocations: 110.3 kB / 1.073 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.4324, allocations: 0.8327 MB / 1.074 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.433, allocations: 0.8151 MB / 1.075 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002596/0.4332, allocations: 55.23 kB / 1.075 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/0.4333, allocations: 31.42 kB / 1.075 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/0.4333, allocations: 4 kB / 1.075 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of Templates: time 0.0106/0.444, allocations: 4.462 MB / 1.079 GB, free: 24 kB / 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/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