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.001378/0.001378, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001695/0.001695, allocations: 215 kB / 22.25 MB, free: 5.082 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.475/1.475, 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 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.217/3.217, allocations: 0.49 GB / 0.7951 GB, free: 33.26 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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_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.001981/0.001981, allocations: 70.31 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3676, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005554/0.3731, allocations: 2.995 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003503/0.3766, allocations: 1.73 MB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004857/0.3771, allocations: 23.75 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.3776, allocations: 103.1 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.3783, allocations: 190.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3795, allocations: 396 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.3803, allocations: 0.55 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.3807, allocations: 141.7 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.3812, allocations: 227 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.3816, allocations: 206.9 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3817, allocations: 44 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.3819, allocations: 111.9 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3821, allocations: 107.6 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.3824, allocations: 214.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3834, allocations: 0.6146 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3834, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3834, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.842e-05/0.3835, allocations: 0 / 1.333 GB, free: 10.29 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.001673/0.3851, allocations: 0.7475 MB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3852, allocations: 8.031 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.558e-05/0.3853, allocations: 62.67 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.3856, allocations: 76.58 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/0.3864, allocations: 387.7 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.3865, allocations: 24.78 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.3865, allocations: 31.98 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.3872, allocations: 333 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3872, allocations: 0 / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.3872, allocations: 15.94 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.3872, allocations: 8 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.3877, allocations: 217.8 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.3894, allocations: 1.058 MB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.39, allocations: 226.9 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.3903, allocations: 104.8 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.3903, allocations: 7.984 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.3907, allocations: 157.1 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.3907, allocations: 0 / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009116/0.3916, allocations: 358.7 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/0.3917, allocations: 106.8 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.3923, allocations: 461.9 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3923, allocations: 33.69 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3926, allocations: 236.6 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.3926, allocations: 75.39 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3927, allocations: 53.69 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3929, allocations: 350.8 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3932, allocations: 95.88 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.3934, allocations: 155.7 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.3939, allocations: 215.1 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3939, allocations: 3.984 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006628/0.3946, allocations: 305 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3946, allocations: 8 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3946, allocations: 0 / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3946, allocations: 4.047 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.3949, allocations: 51.89 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3949, allocations: 4 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3951, allocations: 43.86 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.3951, allocations: 15.98 kB / 1.339 GB, free: 4.047 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.0002344/0.3954, allocations: 170.3 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.3955, allocations: 47.66 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.3961, allocations: 295 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3961, allocations: 0 / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3962, allocations: 4 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3962, allocations: 0 / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.3966, allocations: 392.3 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3966, allocations: 0 / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3969, allocations: 43.91 kB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3969, allocations: 0 / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3969, allocations: 11.98 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3969, allocations: 0 / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3969, allocations: 0 / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.3978, allocations: 427.9 kB / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.398, allocations: 71.64 kB / 1.341 GB, free: 2.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.398, allocations: 8 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3982, allocations: 12.05 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.3983, allocations: 23.97 kB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3983, allocations: 8 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004337/0.3987, allocations: 331.1 kB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3987, allocations: 0 / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003654/0.3991, allocations: 75.88 kB / 1.341 GB, free: 2.098 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 (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.002701/0.4018, allocations: 1.283 MB / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.4024, allocations: 214.9 kB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4024, allocations: 4.062 kB / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.4027, allocations: 103.9 kB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.4032, allocations: 112.3 kB / 1.343 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.4085, allocations: 3.484 MB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.409, allocations: 0.8148 MB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000207/0.4092, allocations: 47.27 kB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.4094, allocations: 151.4 kB / 1.347 GB, free: 11.9 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.4094, allocations: 0 / 1.347 GB, free: 11.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/0.4531, allocations: 9.437 MB / 1.356 GB, free: 2.617 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.22, allocations: 7.719 kB / 1.356 GB, free: 2.613 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] 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: 19.208589712157845]