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.001389/0.001389, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001507/0.001507, allocations: 217 kB / 22.99 MB, free: 4.945 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.844/2.844, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] 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.00217/0.00217, allocations: 72.23 kB / 1.118 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4168, allocations: 169.9 MB / 1.284 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005484/0.4222, allocations: 2.77 MB / 1.286 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003545/0.4258, allocations: 1.64 MB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.4263, allocations: 15.88 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.4268, allocations: 107.1 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007694/0.4276, allocations: 182.9 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4288, allocations: 397.9 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008521/0.4296, allocations: 0.5499 MB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.43, allocations: 133.7 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.4304, allocations: 231 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.4308, allocations: 187 kB / 1.29 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.4309, allocations: 44 kB / 1.29 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.4312, allocations: 103.9 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.4313, allocations: 115.6 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.4315, allocations: 159 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009053/0.4324, allocations: 0.6225 MB / 1.291 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4324, allocations: 0 / 1.291 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4324, allocations: 3.938 kB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.4325, allocations: 0 / 1.291 GB, free: 12.46 MB / 0.9981 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.001644/0.4341, allocations: 0.7436 MB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4341, allocations: 11.97 kB / 1.292 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.4345, allocations: 76.53 kB / 1.292 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.4354, allocations: 395.6 kB / 1.292 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.4354, allocations: 25.02 kB / 1.292 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.4355, allocations: 31.92 kB / 1.292 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.4362, allocations: 371.6 kB / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4362, allocations: 0 / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.4362, allocations: 12 kB / 1.292 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4362, allocations: 11.92 kB / 1.292 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.4367, allocations: 213.9 kB / 1.293 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.4383, allocations: 0.9297 MB / 1.294 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.4389, allocations: 222.9 kB / 1.294 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.4392, allocations: 108.8 kB / 1.294 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.4392, allocations: 7.922 kB / 1.294 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003626/0.4395, allocations: 159.2 kB / 1.294 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.4395, allocations: 0 / 1.294 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0008825/0.4404, allocations: 351.3 kB / 1.294 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.4405, allocations: 92.97 kB / 1.294 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.4411, allocations: 445.8 kB / 1.295 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.4411, allocations: 29.7 kB / 1.295 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.4413, allocations: 240.6 kB / 1.295 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.4414, allocations: 79.33 kB / 1.295 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4415, allocations: 57.69 kB / 1.295 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4417, allocations: 350.8 kB / 1.296 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.4419, allocations: 83.95 kB / 1.296 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.4422, allocations: 207.5 kB / 1.296 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.4427, allocations: 214 kB / 1.296 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4427, allocations: 4 kB / 1.296 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006506/0.4433, allocations: 311.1 kB / 1.296 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4434, allocations: 10.44 kB / 1.296 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4434, allocations: 0 / 1.296 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.4434, allocations: 4 kB / 1.296 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.4436, allocations: 55.91 kB / 1.296 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4437, allocations: 0 / 1.296 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.4438, allocations: 39.95 kB / 1.297 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4439, allocations: 11.98 kB / 1.297 GB, free: 6.355 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.000222/0.4441, allocations: 169.8 kB / 1.297 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.4442, allocations: 51.64 kB / 1.297 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.4448, allocations: 293.1 kB / 1.297 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.4448, allocations: 4 kB / 1.297 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4448, allocations: 4 kB / 1.297 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4448, allocations: 0 / 1.297 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.4452, allocations: 309 kB / 1.297 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4452, allocations: 3.938 kB / 1.297 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4454, allocations: 47.91 kB / 1.297 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4454, allocations: 0 / 1.297 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.4455, allocations: 3.938 kB / 1.297 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4455, allocations: 4 kB / 1.297 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4455, allocations: 0 / 1.297 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.4464, allocations: 436.5 kB / 1.298 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.4465, allocations: 63.66 kB / 1.298 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.4465, allocations: 11.92 kB / 1.298 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.4467, allocations: 15.98 kB / 1.298 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.4468, allocations: 19.97 kB / 1.298 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.4468, allocations: 8 kB / 1.298 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003641/0.4472, allocations: 311.1 kB / 1.298 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4472, allocations: 0 / 1.298 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003478/0.4475, allocations: 87.84 kB / 1.298 GB, free: 4.496 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 (24): * Single equations (assignments): 22 * 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.001732/0.4492, allocations: 454 kB / 1.299 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005867/0.4498, allocations: 218.5 kB / 1.299 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4498, allocations: 7.938 kB / 1.299 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.4501, allocations: 108.2 kB / 1.299 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.4506, allocations: 105.6 kB / 1.299 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.452, allocations: 0.7322 MB / 1.3 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4522, allocations: 219.4 kB / 1.3 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4523, allocations: 39.42 kB / 1.3 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.4523, allocations: 3.938 kB / 1.3 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of Templates: time 0.009689/0.462, allocations: 5.854 MB / 1.306 GB, free: 12.95 MB / 1.014 GB " [Timeout remaining time 300] 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: 12.674852867145091]