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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 203.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=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: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.64 kB / 1.109 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 168.7 MB / 1.274 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004808/0.3347, allocations: 2.967 MB / 1.277 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.3377, allocations: 1.543 MB / 1.278 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.3381, allocations: 11.94 kB / 1.278 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.3386, allocations: 103.2 kB / 1.279 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.3391, allocations: 143.1 kB / 1.279 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3403, allocations: 419.8 kB / 1.279 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006916/0.341, allocations: 0.5344 MB / 1.28 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.3413, allocations: 141.1 kB / 1.28 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.3416, allocations: 211.1 kB / 1.28 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.3419, allocations: 199 kB / 1.28 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.3419, allocations: 44 kB / 1.28 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3421, allocations: 99.95 kB / 1.28 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.3423, allocations: 111.5 kB / 1.28 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3425, allocations: 206.8 kB / 1.281 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007623/0.3432, allocations: 0.603 MB / 1.281 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3432, allocations: 4 kB / 1.281 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3432, allocations: 0 / 1.281 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.3432, allocations: 0 / 1.281 GB, free: 3.797 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.001389/0.3446, allocations: 0.8072 MB / 1.282 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3447, allocations: 12.03 kB / 1.282 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3448, allocations: 56.61 kB / 1.282 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.3455, allocations: 438.8 kB / 1.282 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.3456, allocations: 20.94 kB / 1.282 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.3456, allocations: 39.92 kB / 1.283 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.3462, allocations: 327.9 kB / 1.283 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3462, allocations: 0 / 1.283 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3463, allocations: 12 kB / 1.283 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3463, allocations: 4 kB / 1.283 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.3468, allocations: 222 kB / 1.283 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3483, allocations: 1.097 MB / 1.284 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.3489, allocations: 233.1 kB / 1.284 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3492, allocations: 100.8 kB / 1.284 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.3492, allocations: 4 kB / 1.284 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.3496, allocations: 155.3 kB / 1.285 GB, free: 100 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.3496, allocations: 0 / 1.285 GB, free: 100 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008983/0.3505, allocations: 355.9 kB / 1.285 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.3505, allocations: 114.8 kB / 1.285 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.3511, allocations: 449.9 kB / 1.285 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.3511, allocations: 29.7 kB / 1.285 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3513, allocations: 232.6 kB / 1.286 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.3514, allocations: 79.38 kB / 1.286 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3515, allocations: 53.66 kB / 1.286 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3516, allocations: 354.8 kB / 1.286 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.3519, allocations: 91.95 kB / 1.286 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.3522, allocations: 163.7 kB / 1.286 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.3527, allocations: 222.7 kB / 1.287 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3527, allocations: 0 / 1.287 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006498/0.3533, allocations: 307.6 kB / 1.287 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3533, allocations: 9.719 kB / 1.287 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3533, allocations: 0 / 1.287 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3534, allocations: 4 kB / 1.287 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.3536, allocations: 47.91 kB / 1.287 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3536, allocations: 7.984 kB / 1.287 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3538, allocations: 27.83 kB / 1.287 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3538, allocations: 20.14 kB / 1.287 GB, free: 13.47 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.0002028/0.354, allocations: 173.8 kB / 1.287 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.3541, allocations: 47.66 kB / 1.287 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.3548, allocations: 281.3 kB / 1.288 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.3548, allocations: 4 kB / 1.288 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3548, allocations: 4 kB / 1.288 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3548, allocations: 0 / 1.288 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.3552, allocations: 417.2 kB / 1.288 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.3552, allocations: 3.938 kB / 1.288 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.3555, allocations: 39.91 kB / 1.288 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3555, allocations: 0 / 1.288 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3555, allocations: 8 kB / 1.288 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3555, allocations: 3.938 kB / 1.288 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3555, allocations: 0 / 1.288 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.3564, allocations: 431.1 kB / 1.288 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.3565, allocations: 148.7 kB / 1.289 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.3566, allocations: 8 kB / 1.289 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3568, allocations: 15.98 kB / 1.289 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.3568, allocations: 19.92 kB / 1.289 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.3569, allocations: 12.05 kB / 1.289 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003573/0.3572, allocations: 319.1 kB / 1.289 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3572, allocations: 0 / 1.289 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000356/0.3576, allocations: 83.77 kB / 1.289 GB, free: 11.39 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.001589/0.3592, allocations: 411.5 kB / 1.289 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005926/0.3598, allocations: 223.7 kB / 1.29 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3598, allocations: 0 / 1.29 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.36, allocations: 103.9 kB / 1.29 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.3606, allocations: 113.6 kB / 1.29 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3619, allocations: 0.7005 MB / 1.29 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.3623, allocations: 0.8148 MB / 1.291 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.3625, allocations: 47.27 kB / 1.291 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3626, allocations: 31.42 kB / 1.291 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3626, allocations: 4 kB / 1.291 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of Templates: time 0.0112/0.3738, allocations: 4.871 MB / 1.296 GB, free: 4.289 MB / 0.9981 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 -s cvode -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_2/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: 8.65413675783202]