Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001387/0.001387, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001605/0.001605, allocations: 217 kB / 22.26 MB, free: 5.113 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.298/3.298, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [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.002022/0.002022, allocations: 62.58 kB / 1.177 GB, free: 17.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3671, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004812/0.3719, allocations: 3.005 MB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.3754, allocations: 1.726 MB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.3759, allocations: 15.88 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.3763, allocations: 107.1 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.3769, allocations: 186.8 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3779, allocations: 404.2 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.3786, allocations: 0.5499 MB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.3789, allocations: 137.7 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.3793, allocations: 227 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.3796, allocations: 206.9 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.3796, allocations: 44 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.3799, allocations: 107.9 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.38, allocations: 115.5 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.3802, allocations: 214.7 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008345/0.3811, allocations: 0.6069 MB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3811, allocations: 0 / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3811, allocations: 3.938 kB / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3811, allocations: 0 / 1.36 GB, free: 0.8203 MB / 1.045 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.001323/0.3824, allocations: 0.7514 MB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3824, allocations: 8.031 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.967e-05/0.3825, allocations: 62.72 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.3828, allocations: 68.59 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.3836, allocations: 399.6 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.3836, allocations: 24.78 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.3837, allocations: 31.94 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.3844, allocations: 333 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3844, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3844, allocations: 12 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3844, allocations: 8 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.3849, allocations: 209.8 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3865, allocations: 1.062 MB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.3872, allocations: 227.8 kB / 1.363 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.3875, allocations: 108.7 kB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.3875, allocations: 7.984 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.3879, allocations: 160.9 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.3879, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0009583/0.3889, allocations: 354 kB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.389, allocations: 106.8 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.3895, allocations: 465.9 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3896, allocations: 29.7 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.3898, allocations: 232.7 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.3899, allocations: 79.38 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.39, allocations: 53.69 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3902, allocations: 350.8 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.3904, allocations: 83.95 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.3907, allocations: 171.5 kB / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.3912, allocations: 219.3 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3912, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006555/0.3918, allocations: 311.9 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3918, allocations: 8 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3919, allocations: 0 / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3919, allocations: 4 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3922, allocations: 47.91 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3922, allocations: 4 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3924, allocations: 35.77 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.3924, allocations: 12 kB / 1.366 GB, free: 10.57 MB / 1.061 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.0002386/0.3926, allocations: 181.8 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.3927, allocations: 47.66 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.3934, allocations: 289.3 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3934, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3934, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3934, allocations: 11.92 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.3939, allocations: 392.2 kB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3939, allocations: 0 / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.3941, allocations: 39.97 kB / 1.367 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3941, allocations: 0 / 1.367 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.3941, allocations: 8 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3941, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3941, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.395, allocations: 435.2 kB / 1.367 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3952, allocations: 67.66 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.3952, allocations: 4 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3954, allocations: 11.98 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3955, allocations: 23.95 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.3955, allocations: 8 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004197/0.3959, allocations: 335.2 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3959, allocations: 0 / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003448/0.3963, allocations: 71.89 kB / 1.368 GB, free: 8.613 MB / 1.061 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.002725/0.399, allocations: 1.289 MB / 1.369 GB, free: 7.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005935/0.3996, allocations: 219.7 kB / 1.369 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3996, allocations: 0 / 1.369 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.3999, allocations: 104.2 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.4004, allocations: 112.7 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.4056, allocations: 3.472 MB / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.4062, allocations: 0.8109 MB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.4064, allocations: 55.19 kB / 1.374 GB, free: 2.559 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.4066, allocations: 155.4 kB / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.4066, allocations: 0 / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.4498, allocations: 9.415 MB / 1.383 GB, free: 9.121 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.37, allocations: 13.75 kB / 1.383 GB, free: 9.109 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.352187084034085]