Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001983/0.001983, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002322/0.002322, allocations: 214.8 kB / 22.25 MB, free: 4.859 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.262/3.262, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002147/0.002147, allocations: 62.36 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3496, allocations: 176.1 MB / 1.326 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005314/0.3549, allocations: 2.778 MB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003453/0.3584, allocations: 1.629 MB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.3588, allocations: 15.88 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.3593, allocations: 103.1 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000668/0.36, allocations: 194.8 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3611, allocations: 398.1 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000848/0.3619, allocations: 0.5538 MB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.3623, allocations: 125.7 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.3627, allocations: 227.1 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.3631, allocations: 190.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.3632, allocations: 44 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.3634, allocations: 107.9 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3636, allocations: 107.6 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.3638, allocations: 167 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.3648, allocations: 0.6108 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3648, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3648, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.3648, allocations: 8 kB / 1.333 GB, free: 10.5 MB / 1.029 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.001739/0.3666, allocations: 0.7397 MB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3666, allocations: 8.031 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.3669, allocations: 80.53 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/0.3678, allocations: 395.6 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.3678, allocations: 25.03 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.3679, allocations: 27.94 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.3686, allocations: 375.5 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3686, allocations: 0 / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3687, allocations: 12 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3687, allocations: 11.98 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.3693, allocations: 217.8 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.3709, allocations: 0.9336 MB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.3715, allocations: 232.5 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.3718, allocations: 100.8 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.3718, allocations: 8 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.3722, allocations: 152.1 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.3722, allocations: 0 / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009517/0.3732, allocations: 367.1 kB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.3733, allocations: 81.11 kB / 1.336 GB, free: 6.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.3739, allocations: 441.8 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3739, allocations: 33.7 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3741, allocations: 240.6 kB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.3742, allocations: 75.31 kB / 1.337 GB, free: 5.789 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3743, allocations: 57.7 kB / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.3745, allocations: 354.7 kB / 1.337 GB, free: 5.371 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.3748, allocations: 87.95 kB / 1.337 GB, free: 5.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.3751, allocations: 210.1 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.3756, allocations: 222.9 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3756, allocations: 4.031 kB / 1.338 GB, free: 4.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000696/0.3763, allocations: 302.7 kB / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3763, allocations: 11.94 kB / 1.338 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3764, allocations: 0 / 1.338 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3764, allocations: 4 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3766, allocations: 48.06 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3766, allocations: 8 kB / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.3768, allocations: 27.88 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.3768, allocations: 4 kB / 1.338 GB, free: 4.402 MB / 1.029 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.0002375/0.3771, allocations: 182.3 kB / 1.338 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.3772, allocations: 55.59 kB / 1.338 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.3779, allocations: 295.1 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3779, allocations: 7.984 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3779, allocations: 3.938 kB / 1.339 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3779, allocations: 0 / 1.339 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.3783, allocations: 305 kB / 1.339 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3783, allocations: 0 / 1.339 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3786, allocations: 35.97 kB / 1.339 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.3786, allocations: 4 kB / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.3786, allocations: 11.92 kB / 1.339 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3786, allocations: 0 / 1.339 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3786, allocations: 0 / 1.339 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.3796, allocations: 438.9 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3797, allocations: 67.66 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.3798, allocations: 11.94 kB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.3799, allocations: 7.984 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.38, allocations: 27.95 kB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.3801, allocations: 8 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000393/0.3805, allocations: 315.2 kB / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3805, allocations: 0 / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000367/0.3808, allocations: 83.77 kB / 1.34 GB, free: 2.527 MB / 1.029 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.001818/0.3826, allocations: 460.5 kB / 1.34 GB, free: 2.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.3833, allocations: 204 kB / 1.341 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3833, allocations: 4.062 kB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.3836, allocations: 119.8 kB / 1.341 GB, free: 1.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.3841, allocations: 110.5 kB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.3857, allocations: 0.6993 MB / 1.342 GB, free: 1.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3859, allocations: 215.4 kB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.3861, allocations: 55.25 kB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3863, allocations: 35.44 kB / 1.342 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3863, allocations: 0 / 1.342 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of Templates: time 0.0123/0.3986, allocations: 5.281 MB / 1.347 GB, free: 11.63 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.310715105384588]