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.001356/0.001356, allocations: 116.1 kB / 17.17 MB, free: 6 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.001516/0.001516, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.066/3.066, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 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.00208/0.00208, allocations: 63.89 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004175/1.064, allocations: 2.972 MB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002891/1.067, allocations: 1.707 MB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/1.067, allocations: 16.06 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/1.068, allocations: 105 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005099/1.068, allocations: 193.9 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/1.069, allocations: 400.6 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005884/1.07, allocations: 0.5433 MB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/1.07, allocations: 140.5 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/1.071, allocations: 223.3 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/1.071, allocations: 204.1 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/1.071, allocations: 42.62 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/1.071, allocations: 111.4 kB / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/1.071, allocations: 108.8 kB / 1.347 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/1.071, allocations: 219.8 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007468/1.072, allocations: 0.6137 MB / 1.348 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.072, allocations: 1.781 kB / 1.348 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/1.072, allocations: 0 / 1.348 GB, free: 11.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.072, allocations: 0 / 1.348 GB, free: 11.45 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.001128/1.073, allocations: 0.8211 MB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/1.073, allocations: 10.31 kB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.681e-05/1.073, allocations: 12.06 kB / 1.348 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/1.073, allocations: 61.02 kB / 1.348 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/1.074, allocations: 72.17 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/1.074, allocations: 456.4 kB / 1.349 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/1.074, allocations: 25.98 kB / 1.349 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/1.074, allocations: 25.38 kB / 1.349 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/1.075, allocations: 330.8 kB / 1.349 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.075, allocations: 1.562 kB / 1.349 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/1.075, allocations: 10.38 kB / 1.349 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.075, allocations: 7.203 kB / 1.349 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/1.075, allocations: 219.1 kB / 1.349 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/1.077, allocations: 1.104 MB / 1.351 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/1.077, allocations: 228.4 kB / 1.351 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/1.077, allocations: 100 kB / 1.351 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/1.078, allocations: 7.969 kB / 1.351 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/1.078, allocations: 159 kB / 1.351 GB, free: 9.027 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.913e-06/1.078, allocations: 0 / 1.351 GB, free: 9.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.000862/1.079, allocations: 353 kB / 1.351 GB, free: 8.879 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.079, allocations: 110.9 kB / 1.351 GB, free: 8.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/1.079, allocations: 463.5 kB / 1.352 GB, free: 8.535 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.079, allocations: 31.14 kB / 1.352 GB, free: 8.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/1.08, allocations: 238.9 kB / 1.352 GB, free: 8.305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/1.08, allocations: 75.05 kB / 1.352 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/1.08, allocations: 56.61 kB / 1.352 GB, free: 8.211 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/1.08, allocations: 351.8 kB / 1.353 GB, free: 7.883 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/1.08, allocations: 86.95 kB / 1.353 GB, free: 7.852 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/1.08, allocations: 162.1 kB / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/1.081, allocations: 218.9 kB / 1.353 GB, free: 7.613 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.081, allocations: 5.031 kB / 1.353 GB, free: 7.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006581/1.081, allocations: 302.2 kB / 1.353 GB, free: 7.473 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.081, allocations: 9.531 kB / 1.353 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.081, allocations: 5.109 kB / 1.353 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.081, allocations: 4.078 kB / 1.353 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/1.082, allocations: 53.8 kB / 1.353 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/1.082, allocations: 3.531 kB / 1.353 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.082, allocations: 34.12 kB / 1.353 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/1.082, allocations: 8.406 kB / 1.353 GB, free: 7.438 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.0001723/1.082, allocations: 184.3 kB / 1.354 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/1.082, allocations: 49.31 kB / 1.354 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/1.082, allocations: 47.83 kB / 1.354 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.082, allocations: 7.406 kB / 1.354 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.082, allocations: 0 / 1.354 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.082, allocations: 1.312 kB / 1.354 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/1.083, allocations: 420.9 kB / 1.354 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.083, allocations: 1.062 kB / 1.354 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/1.083, allocations: 36.97 kB / 1.354 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.083, allocations: 2.062 kB / 1.354 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.083, allocations: 11.36 kB / 1.354 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.083, allocations: 1.656 kB / 1.354 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.083, allocations: 0 / 1.354 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/1.084, allocations: 427.8 kB / 1.355 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/1.084, allocations: 145 kB / 1.355 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/1.084, allocations: 11.47 kB / 1.355 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/1.084, allocations: 14.02 kB / 1.355 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/1.084, allocations: 19.45 kB / 1.355 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/1.084, allocations: 7.062 kB / 1.355 GB, free: 6.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003437/1.085, allocations: 329 kB / 1.355 GB, free: 6.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.085, allocations: 0 / 1.355 GB, free: 6.395 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003558/1.085, allocations: 77.73 kB / 1.355 GB, free: 6.375 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * 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.002442/1.087, allocations: 1.284 MB / 1.356 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006085/1.088, allocations: 206.5 kB / 1.357 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.088, allocations: 0 / 1.357 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.088, allocations: 111.5 kB / 1.357 GB, free: 5.422 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/1.089, allocations: 107.9 kB / 1.357 GB, free: 5.383 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/1.093, allocations: 3.473 MB / 1.36 GB, free: 3.324 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/1.094, allocations: 0.8227 MB / 1.361 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002149/1.094, allocations: 50.95 kB / 1.361 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/1.094, allocations: 146.8 kB / 1.361 GB, free: 2.492 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/1.094, allocations: 0 / 1.361 GB, free: 2.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/1.126, allocations: 9.247 MB / 1.37 GB, free: 1.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.167/10.29, allocations: 21.16 kB / 1.37 GB, free: 1.32 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.066873792966362]