Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 65.94 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4095, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005205/0.4147, allocations: 2.998 MB / 1.288 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.418, allocations: 1.722 MB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.4183, allocations: 15.88 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.4188, allocations: 107.1 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.4193, allocations: 190.9 kB / 1.29 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009972/0.4203, allocations: 408.2 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.421, allocations: 0.5461 MB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.4213, allocations: 141.8 kB / 1.291 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.4216, allocations: 223 kB / 1.291 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.4219, allocations: 203 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.422, allocations: 44 kB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.4222, allocations: 107.9 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.4223, allocations: 107.6 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.4226, allocations: 222.7 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008556/0.4234, allocations: 0.6146 MB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4234, allocations: 3.938 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4234, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.4234, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 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.001363/0.4248, allocations: 0.7475 MB / 1.293 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4248, allocations: 8.031 kB / 1.293 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.4252, allocations: 76.53 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.4259, allocations: 391.6 kB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.426, allocations: 25.03 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.426, allocations: 31.94 kB / 1.293 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.4266, allocations: 325 kB / 1.294 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4267, allocations: 3.938 kB / 1.294 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.4267, allocations: 16 kB / 1.294 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.4267, allocations: 7.984 kB / 1.294 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.4272, allocations: 209.8 kB / 1.294 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.4287, allocations: 1.073 MB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.4294, allocations: 235.9 kB / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.4296, allocations: 104.8 kB / 1.295 GB, free: 248 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.4296, allocations: 0 / 1.295 GB, free: 248 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/0.43, allocations: 147.3 kB / 1.295 GB, free: 88 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.43, allocations: 4 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008864/0.4309, allocations: 359.7 kB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.431, allocations: 110.8 kB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.4316, allocations: 461.9 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.4316, allocations: 33.7 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.4318, allocations: 236.7 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.4319, allocations: 71.3 kB / 1.297 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.432, allocations: 65.69 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4322, allocations: 350.8 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4324, allocations: 87.95 kB / 1.297 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.4327, allocations: 164.7 kB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.4331, allocations: 217 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4331, allocations: 0 / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006144/0.4338, allocations: 303.8 kB / 1.298 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4338, allocations: 8 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4338, allocations: 0 / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4338, allocations: 4 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.4341, allocations: 56.06 kB / 1.298 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4341, allocations: 11.88 kB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.4342, allocations: 35.77 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.4343, allocations: 4 kB / 1.298 GB, free: 13.44 MB / 0.9981 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.0002171/0.4345, allocations: 177.8 kB / 1.298 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.4346, allocations: 47.66 kB / 1.298 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.4352, allocations: 293.5 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4352, allocations: 3.984 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4352, allocations: 3.938 kB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4352, allocations: 0 / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.4357, allocations: 388.3 kB / 1.299 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4357, allocations: 3.938 kB / 1.299 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.4359, allocations: 35.97 kB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4359, allocations: 0 / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.4359, allocations: 12 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4359, allocations: 3.984 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4359, allocations: 4 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.4368, allocations: 423.4 kB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.437, allocations: 71.58 kB / 1.299 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.437, allocations: 8.062 kB / 1.299 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4372, allocations: 15.98 kB / 1.299 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.4372, allocations: 19.97 kB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.4373, allocations: 4 kB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003928/0.4377, allocations: 327.1 kB / 1.3 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4377, allocations: 0 / 1.3 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003507/0.438, allocations: 83.83 kB / 1.3 GB, free: 11.48 MB / 0.9981 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) * 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.001632/0.4396, allocations: 434.6 kB / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.4402, allocations: 215.7 kB / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4402, allocations: 0 / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.4405, allocations: 101.3 kB / 1.3 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.441, allocations: 129.4 kB / 1.3 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4424, allocations: 0.7283 MB / 1.301 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.4429, allocations: 0.8188 MB / 1.302 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.443, allocations: 35.42 kB / 1.302 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.443, allocations: 0 / 1.302 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of Templates: time 0.009582/0.4526, allocations: 5.763 MB / 1.308 GB, free: 3.414 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.108649233006872]