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.001909/0.001909, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002075/0.002075, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.603/1.603, 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 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.924/2.924, allocations: 476.7 MB / 0.7678 GB, free: 9.32 MB / 0.6075 GB " [Timeout remaining time 176] 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.001971/0.001971, allocations: 67.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.006176/1.152, allocations: 2.987 MB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004089/1.156, allocations: 1.71 MB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/1.157, allocations: 17.25 kB / 1.284 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000553/1.157, allocations: 105.8 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006107/1.158, allocations: 180.7 kB / 1.284 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/1.159, allocations: 396.2 kB / 1.284 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008814/1.16, allocations: 0.543 MB / 1.285 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/1.16, allocations: 145 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/1.161, allocations: 222.2 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/1.161, allocations: 213.2 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/1.161, allocations: 45.75 kB / 1.285 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/1.161, allocations: 106.3 kB / 1.285 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/1.162, allocations: 113 kB / 1.286 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/1.162, allocations: 209.3 kB / 1.286 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/1.163, allocations: 0.6177 MB / 1.286 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.163, allocations: 3.938 kB / 1.286 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/1.163, allocations: 1.312 kB / 1.286 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.163, allocations: 0 / 1.286 GB, free: 6.883 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.001618/1.165, allocations: 0.8217 MB / 1.287 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.165, allocations: 9.656 kB / 1.287 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.156e-05/1.165, allocations: 7.438 kB / 1.287 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.335e-05/1.165, allocations: 62.09 kB / 1.287 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/1.165, allocations: 82.7 kB / 1.287 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/1.166, allocations: 450 kB / 1.288 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/1.166, allocations: 23.58 kB / 1.288 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/1.166, allocations: 26.34 kB / 1.288 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/1.167, allocations: 332.8 kB / 1.288 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.167, allocations: 0 / 1.288 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/1.167, allocations: 11.97 kB / 1.288 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.167, allocations: 6.719 kB / 1.288 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/1.167, allocations: 217.3 kB / 1.288 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/1.169, allocations: 1.102 MB / 1.289 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/1.17, allocations: 228.1 kB / 1.29 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/1.17, allocations: 103.7 kB / 1.29 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/1.17, allocations: 7.578 kB / 1.29 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/1.171, allocations: 156.9 kB / 1.29 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/1.171, allocations: 0 / 1.29 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009836/1.172, allocations: 348 kB / 1.29 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.172, allocations: 115 kB / 1.29 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006679/1.172, allocations: 463.2 kB / 1.291 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/1.173, allocations: 32.45 kB / 1.291 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/1.173, allocations: 234.1 kB / 1.291 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/1.173, allocations: 75.03 kB / 1.291 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.173, allocations: 57.14 kB / 1.291 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.173, allocations: 355.7 kB / 1.291 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/1.173, allocations: 90.42 kB / 1.292 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/1.174, allocations: 159.7 kB / 1.292 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/1.174, allocations: 227.8 kB / 1.292 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.174, allocations: 1 kB / 1.292 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007058/1.175, allocations: 309.8 kB / 1.292 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.175, allocations: 8.734 kB / 1.292 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.175, allocations: 1.062 kB / 1.292 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.175, allocations: 2.562 kB / 1.292 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/1.175, allocations: 50.97 kB / 1.292 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.175, allocations: 3.344 kB / 1.292 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/1.176, allocations: 38.03 kB / 1.292 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/1.176, allocations: 9.359 kB / 1.292 GB, free: 2.863 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.0002368/1.176, allocations: 179.6 kB / 1.292 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/1.176, allocations: 47.78 kB / 1.293 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/1.176, allocations: 44.52 kB / 1.293 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.176, allocations: 2.125 kB / 1.293 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.176, allocations: 4.547 kB / 1.293 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.176, allocations: 2.422 kB / 1.293 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/1.177, allocations: 420.6 kB / 1.293 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.177, allocations: 4 kB / 1.293 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/1.177, allocations: 38.58 kB / 1.293 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.177, allocations: 5.031 kB / 1.293 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.177, allocations: 3.781 kB / 1.293 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.177, allocations: 2.188 kB / 1.293 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.177, allocations: 0 / 1.293 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/1.178, allocations: 431.5 kB / 1.293 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/1.178, allocations: 139.9 kB / 1.294 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/1.178, allocations: 7.5 kB / 1.294 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/1.178, allocations: 14.19 kB / 1.294 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/1.178, allocations: 18.72 kB / 1.294 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/1.178, allocations: 8.047 kB / 1.294 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004584/1.179, allocations: 328.7 kB / 1.294 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.179, allocations: 4.062 kB / 1.294 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003955/1.179, allocations: 81.2 kB / 1.294 GB, free: 1.809 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.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.002938/1.182, allocations: 1.29 MB / 1.295 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006432/1.183, allocations: 207.2 kB / 1.295 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.183, allocations: 1.438 kB / 1.295 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/1.183, allocations: 104.2 kB / 1.296 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/1.184, allocations: 120.4 kB / 1.296 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/1.19, allocations: 3.471 MB / 1.299 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/1.19, allocations: 0.8158 MB / 1.3 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002754/1.191, allocations: 55.5 kB / 1.3 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/1.191, allocations: 146.3 kB / 1.3 GB, free: 13.93 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.191, allocations: 4 kB / 1.3 GB, free: 13.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/1.228, allocations: 9.254 MB / 1.309 GB, free: 12.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.664/10.89, allocations: 12.23 kB / 1.309 GB, free: 12.76 MB / 1.014 GB " [Timeout remaining time 289] (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: 17.833457568020094]