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.00135/0.00135, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001571/0.001571, allocations: 210.1 kB / 22.99 MB, free: 4.977 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.469/1.469, allocations: 230.6 MB / 256.8 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.194/3.194, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002115/0.002115, allocations: 67.38 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3609, allocations: 176.1 MB / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004877/0.3658, allocations: 2.786 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.369, allocations: 1.633 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.3693, allocations: 15.88 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.3698, allocations: 107.1 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.3703, allocations: 186.9 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.3713, allocations: 395.4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.372, allocations: 0.5499 MB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.3723, allocations: 141.7 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.3726, allocations: 227 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.3729, allocations: 203 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.3729, allocations: 44 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.3732, allocations: 115.9 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.3733, allocations: 107.6 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.3735, allocations: 163 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.3742, allocations: 0.6186 MB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3743, allocations: 3.938 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3743, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3743, allocations: 0 / 1.334 GB, free: 9.844 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.001331/0.3756, allocations: 0.7414 MB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3756, allocations: 8.031 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.376, allocations: 76.53 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.3767, allocations: 399.6 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.3768, allocations: 25.02 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.3768, allocations: 35.88 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.3775, allocations: 371.6 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3775, allocations: 0 / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3775, allocations: 19.92 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3776, allocations: 4 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.3781, allocations: 213.9 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3795, allocations: 0.9336 MB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.3802, allocations: 224.6 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.3804, allocations: 112.8 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.3804, allocations: 7.922 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003739/0.3808, allocations: 161.3 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.3808, allocations: 0 / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008865/0.3817, allocations: 354.8 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3818, allocations: 81.11 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.3823, allocations: 445.8 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3824, allocations: 29.7 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.3826, allocations: 240.5 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3827, allocations: 75.39 kB / 1.339 GB, free: 5.137 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3829, allocations: 53.69 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3831, allocations: 350.8 kB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.3834, allocations: 83.95 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.3837, allocations: 206.2 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/0.3844, allocations: 222.5 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3845, allocations: 0 / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001123/0.3856, allocations: 311.7 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.3856, allocations: 7.938 kB / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.3856, allocations: 0 / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.3856, allocations: 4 kB / 1.34 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.3859, allocations: 55.91 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3859, allocations: 0 / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3861, allocations: 35.97 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.3862, allocations: 11.98 kB / 1.34 GB, free: 3.75 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.0002962/0.3865, allocations: 174.3 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3866, allocations: 51.64 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.3876, allocations: 293.2 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3876, allocations: 4 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3876, allocations: 4 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3876, allocations: 0 / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.3882, allocations: 312.9 kB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3882, allocations: 0 / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.3885, allocations: 47.91 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3885, allocations: 0 / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.3886, allocations: 7.938 kB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3886, allocations: 4 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3886, allocations: 0 / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.3899, allocations: 433.1 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.3901, allocations: 67.66 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.3902, allocations: 11.92 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3905, allocations: 11.98 kB / 1.341 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3906, allocations: 19.97 kB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.3906, allocations: 8 kB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005627/0.3912, allocations: 311.1 kB / 1.342 GB, free: 1.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3912, allocations: 4 kB / 1.342 GB, free: 1.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006253/0.3918, allocations: 87.84 kB / 1.342 GB, free: 1.879 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.002358/0.3942, allocations: 459.9 kB / 1.342 GB, free: 1.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008813/0.395, allocations: 221.2 kB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3951, allocations: 0 / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.3955, allocations: 110.4 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.3964, allocations: 113.7 kB / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.3984, allocations: 0.6993 MB / 1.343 GB, free: 460 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3987, allocations: 215.4 kB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002612/0.399, allocations: 47.27 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3992, allocations: 39.42 kB / 1.343 GB, free: 132 kB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3992, allocations: 0 / 1.343 GB, free: 132 kB / 1.029 GB Notification: Performance of Templates: time 0.0181/0.4173, allocations: 5.361 MB / 1.349 GB, free: 10.9 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 -s cvode -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/jenkins1/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.032719426002586]