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.001262/0.001262, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001401/0.001401, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.418/3.418, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="cs",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.002028/0.002028, allocations: 76.16 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4035, allocations: 179 MB / 1.345 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005139/0.4086, allocations: 2.999 MB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.4118, allocations: 1.725 MB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.4122, allocations: 19.81 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.4127, allocations: 107.1 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.4132, allocations: 186.9 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.4142, allocations: 408.9 kB / 1.351 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.4148, allocations: 0.5498 MB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.4151, allocations: 141.7 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.4155, allocations: 223.1 kB / 1.352 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.4158, allocations: 206.9 kB / 1.352 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.4158, allocations: 47.94 kB / 1.352 GB, free: 9.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.4161, allocations: 115.9 kB / 1.352 GB, free: 9.797 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.4162, allocations: 107.6 kB / 1.352 GB, free: 9.691 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.4164, allocations: 214.7 kB / 1.352 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008222/0.4172, allocations: 0.6185 MB / 1.353 GB, free: 8.859 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4173, allocations: 0 / 1.353 GB, free: 8.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4173, allocations: 0 / 1.353 GB, free: 8.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.4173, allocations: 4 kB / 1.353 GB, free: 8.855 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.001355/0.4186, allocations: 0.7398 MB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4187, allocations: 8.031 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.057e-05/0.4187, allocations: 12.78 kB / 1.354 GB, free: 8.059 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.4188, allocations: 62.72 kB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.419, allocations: 72.58 kB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.4198, allocations: 395.7 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.4198, allocations: 24.59 kB / 1.354 GB, free: 7.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.4199, allocations: 31.94 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.4205, allocations: 333 kB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4205, allocations: 0 / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.4206, allocations: 12 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4206, allocations: 7.938 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.4211, allocations: 213.8 kB / 1.355 GB, free: 6.863 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.4226, allocations: 1.062 MB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.4232, allocations: 222.9 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.4235, allocations: 104.8 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.4235, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.4239, allocations: 163.2 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.4239, allocations: 4 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.0009149/0.4248, allocations: 349.1 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.4249, allocations: 114.8 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.4254, allocations: 454 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4255, allocations: 33.7 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.4257, allocations: 236.7 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.4258, allocations: 79.31 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.4259, allocations: 53.69 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.426, allocations: 354.8 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.4263, allocations: 87.95 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.4266, allocations: 155.5 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.4271, allocations: 223.6 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4271, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006539/0.4278, allocations: 311.4 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.4278, allocations: 8 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4278, allocations: 0 / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4278, allocations: 4 kB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.4281, allocations: 47.91 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4281, allocations: 4 kB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.4283, allocations: 39.7 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.4283, allocations: 12.16 kB / 1.359 GB, free: 2.609 MB / 1.045 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.0002222/0.4285, allocations: 185.7 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.4286, allocations: 43.72 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006824/0.4293, allocations: 289.3 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4293, allocations: 0 / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4293, allocations: 8 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4293, allocations: 3.984 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.4298, allocations: 392.3 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4298, allocations: 0 / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.43, allocations: 39.91 kB / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.43, allocations: 0 / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.43, allocations: 8 kB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.43, allocations: 0 / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.43, allocations: 0 / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.4309, allocations: 431.7 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.4311, allocations: 67.66 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.4311, allocations: 7.984 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4313, allocations: 11.98 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.4314, allocations: 19.97 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.4314, allocations: 12.06 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004082/0.4318, allocations: 327.1 kB / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4318, allocations: 0 / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003601/0.4322, allocations: 75.89 kB / 1.36 GB, free: 0.6562 MB / 1.045 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.002767/0.4349, allocations: 1.287 MB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006033/0.4355, allocations: 215 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4355, allocations: 320 / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.4358, allocations: 107.9 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.4364, allocations: 116.6 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.4416, allocations: 3.483 MB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.4421, allocations: 0.8147 MB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.4423, allocations: 59.27 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.4425, allocations: 143.4 kB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/0.4425, allocations: 4 kB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.4766, allocations: 9.453 MB / 1.376 GB, free: 1.133 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.56, allocations: 11.98 kB / 1.376 GB, free: 1.121 MB / 1.061 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.78537990699988]