Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001442/0.001442, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001766/0.001766, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.8 MB / 0.7715 GB, free: 3.828 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_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.002044/0.002044, allocations: 70.81 kB / 1.118 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 169.9 MB / 1.284 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005696/0.3727, allocations: 2.772 MB / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00408/0.3768, allocations: 1.625 MB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.3774, allocations: 19.88 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006163/0.378, allocations: 107.1 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007937/0.3788, allocations: 182.9 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.3802, allocations: 404 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.3812, allocations: 0.5461 MB / 1.29 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.3816, allocations: 146 kB / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.3821, allocations: 227 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.3824, allocations: 203 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3826, allocations: 44 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.3829, allocations: 107.9 kB / 1.29 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.383, allocations: 111.5 kB / 1.29 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3832, allocations: 163 kB / 1.291 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009698/0.3842, allocations: 0.6225 MB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3842, allocations: 3.938 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3842, allocations: 0 / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.3842, allocations: 0 / 1.291 GB, free: 12.2 MB / 0.9981 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.001666/0.3859, allocations: 0.7514 MB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.386, allocations: 12.03 kB / 1.292 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.296e-05/0.386, allocations: 8.844 kB / 1.292 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.3861, allocations: 58.73 kB / 1.292 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.3864, allocations: 76.53 kB / 1.292 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.3873, allocations: 391.6 kB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.3873, allocations: 24.59 kB / 1.292 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.3874, allocations: 32 kB / 1.292 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.3881, allocations: 402.1 kB / 1.293 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3882, allocations: 4 kB / 1.293 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.3882, allocations: 11.98 kB / 1.293 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3882, allocations: 8 kB / 1.293 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.3887, allocations: 221.8 kB / 1.293 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3903, allocations: 0.9877 MB / 1.294 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.391, allocations: 226.9 kB / 1.294 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.3912, allocations: 108.8 kB / 1.294 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3913, allocations: 4 kB / 1.294 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.3916, allocations: 159.2 kB / 1.295 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/0.3916, allocations: 0 / 1.295 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009091/0.3925, allocations: 355.4 kB / 1.295 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.3926, allocations: 110.7 kB / 1.295 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.3932, allocations: 477.8 kB / 1.295 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3933, allocations: 29.7 kB / 1.295 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3935, allocations: 236.6 kB / 1.296 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.3935, allocations: 71.39 kB / 1.296 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3936, allocations: 61.69 kB / 1.296 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3938, allocations: 358.8 kB / 1.296 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.3941, allocations: 83.95 kB / 1.296 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.3944, allocations: 238.5 kB / 1.296 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.3949, allocations: 220.3 kB / 1.297 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3949, allocations: 0 / 1.297 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006545/0.3955, allocations: 309 kB / 1.297 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3956, allocations: 8 kB / 1.297 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3956, allocations: 0 / 1.297 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3956, allocations: 7.938 kB / 1.297 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.3958, allocations: 55.91 kB / 1.297 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3959, allocations: 0 / 1.297 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.3961, allocations: 35.77 kB / 1.297 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.3961, allocations: 8.156 kB / 1.297 GB, free: 5.801 MB / 0.9981 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.0002111/0.3963, allocations: 181.7 kB / 1.297 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3964, allocations: 43.77 kB / 1.297 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.397, allocations: 308 kB / 1.298 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.397, allocations: 4 kB / 1.298 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.397, allocations: 0 / 1.298 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3971, allocations: 0 / 1.298 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.3975, allocations: 356.4 kB / 1.298 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3975, allocations: 0 / 1.298 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.3977, allocations: 39.97 kB / 1.298 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.3977, allocations: 0 / 1.298 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.3977, allocations: 4 kB / 1.298 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3977, allocations: 0 / 1.298 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3977, allocations: 0 / 1.298 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.3987, allocations: 445.5 kB / 1.298 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.3988, allocations: 75.67 kB / 1.298 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.3989, allocations: 4 kB / 1.298 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.399, allocations: 11.98 kB / 1.298 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.3991, allocations: 23.91 kB / 1.299 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.3991, allocations: 11.98 kB / 1.299 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003959/0.3995, allocations: 331.1 kB / 1.299 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3995, allocations: 0 / 1.299 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003621/0.3999, allocations: 75.83 kB / 1.299 GB, free: 3.859 MB / 0.9981 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.002861/0.4028, allocations: 1.316 MB / 1.3 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.4034, allocations: 218.5 kB / 1.3 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4034, allocations: 4.062 kB / 1.3 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.4036, allocations: 107.9 kB / 1.301 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.4042, allocations: 125.1 kB / 1.301 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.4092, allocations: 3.482 MB / 1.304 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.4094, allocations: 215.4 kB / 1.304 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.4096, allocations: 47.27 kB / 1.304 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.4099, allocations: 151.4 kB / 1.304 GB, free: 14.25 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/0.4099, allocations: 0 / 1.304 GB, free: 14.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.4604, allocations: 9.828 MB / 1.314 GB, free: 4.641 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.67, allocations: 14.89 kB / 1.314 GB, free: 4.629 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.602781785069965]