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.00139/0.00139, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001746/0.001746, allocations: 213.9 kB / 22.24 MB, free: 5.262 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: 7.789 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.263/3.263, allocations: 0.5107 GB / 0.8158 GB, free: 17.72 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.002215/0.002215, allocations: 67.47 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3916, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004959/0.3966, allocations: 2.788 MB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.4, allocations: 1.625 MB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.4004, allocations: 19.88 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.4009, allocations: 103.2 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005086/0.4014, allocations: 186.9 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.4023, allocations: 399.4 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.403, allocations: 0.546 MB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.4033, allocations: 137.7 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.4037, allocations: 223 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.4039, allocations: 187 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.404, allocations: 47.94 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.4042, allocations: 111.9 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.4044, allocations: 111.6 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.4045, allocations: 159 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007793/0.4053, allocations: 0.6185 MB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4053, allocations: 0 / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4053, allocations: 0 / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.4053, allocations: 4 kB / 1.37 GB, free: 6.758 MB / 1.061 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.001279/0.4066, allocations: 0.7475 MB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4067, allocations: 8.031 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.395e-05/0.4067, allocations: 58.73 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.407, allocations: 72.58 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/0.4078, allocations: 403.6 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.4079, allocations: 24.78 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.4079, allocations: 31.98 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.4086, allocations: 371.5 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4086, allocations: 0 / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.4086, allocations: 12 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.4086, allocations: 4 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.4092, allocations: 221.8 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.4107, allocations: 0.9915 MB / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.4114, allocations: 226.9 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.4116, allocations: 104.8 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.4117, allocations: 8 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.4121, allocations: 151.3 kB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.4121, allocations: 0 / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0009099/0.413, allocations: 363.2 kB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.413, allocations: 85.05 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/0.4136, allocations: 473.8 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.4137, allocations: 33.7 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.4139, allocations: 232.7 kB / 1.375 GB, free: 1.965 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.4139, allocations: 71.42 kB / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4141, allocations: 61.64 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4142, allocations: 350.8 kB / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.4145, allocations: 87.95 kB / 1.375 GB, free: 1.391 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.4148, allocations: 206.7 kB / 1.376 GB, free: 1.152 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.4153, allocations: 223.5 kB / 1.376 GB, free: 0.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4153, allocations: 0 / 1.376 GB, free: 0.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006522/0.416, allocations: 314.8 kB / 1.376 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.416, allocations: 7.938 kB / 1.376 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.416, allocations: 7.938 kB / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.416, allocations: 4 kB / 1.376 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.4163, allocations: 47.97 kB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.4163, allocations: 7.938 kB / 1.376 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.4165, allocations: 31.77 kB / 1.376 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.4165, allocations: 12 kB / 1.376 GB, free: 500 kB / 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.0002212/0.4167, allocations: 181.9 kB / 1.376 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.4168, allocations: 47.66 kB / 1.376 GB, free: 260 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.4175, allocations: 285.5 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4175, allocations: 7.938 kB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4175, allocations: 0 / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4175, allocations: 0 / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.4179, allocations: 356.4 kB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4179, allocations: 0 / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.4182, allocations: 39.91 kB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4182, allocations: 0 / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4182, allocations: 8 kB / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4182, allocations: 3.938 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4182, allocations: 0 / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.4192, allocations: 447.8 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.4193, allocations: 67.62 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.4194, allocations: 4 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4195, allocations: 15.98 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.4196, allocations: 19.97 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.4196, allocations: 7.984 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004105/0.42, allocations: 335.1 kB / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.42, allocations: 0 / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003501/0.4204, allocations: 75.84 kB / 1.378 GB, free: 14.55 MB / 1.076 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.002939/0.4233, allocations: 1.333 MB / 1.379 GB, free: 13.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.4239, allocations: 207.8 kB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4239, allocations: 4.312 kB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.4242, allocations: 107.8 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.4247, allocations: 112.8 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.4302, allocations: 3.48 MB / 1.383 GB, free: 9.367 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4304, allocations: 215.4 kB / 1.383 GB, free: 9.133 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.4307, allocations: 59.23 kB / 1.383 GB, free: 9.078 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.4309, allocations: 151.4 kB / 1.384 GB, free: 8.93 MB / 1.076 GB Notification: Performance of SimCode: time 6.62e-07/0.4309, allocations: 3.938 kB / 1.384 GB, free: 8.926 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04653/0.4775, allocations: 10.09 MB / 1.393 GB, free: 15.01 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.35, allocations: 5.703 kB / 1.393 GB, free: 15.01 MB / 1.092 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.388380056247115]