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.001243/0.001243, 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.001918/0.001918, 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.031/3.031, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_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.002344/0.002344, allocations: 64.09 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.16, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004444/1.164, allocations: 2.97 MB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003044/1.167, allocations: 1.71 MB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/1.168, allocations: 20.34 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005278/1.168, allocations: 110 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004927/1.169, allocations: 181.9 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/1.17, allocations: 401.1 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/1.17, allocations: 0.5442 MB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/1.17, allocations: 138.1 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/1.171, allocations: 228.4 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/1.171, allocations: 202.2 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.801e-05/1.171, allocations: 42.34 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/1.171, allocations: 109.9 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/1.171, allocations: 105.2 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/1.172, allocations: 217.4 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007874/1.172, allocations: 0.6221 MB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.172, allocations: 4 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/1.172, allocations: 0 / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.621e-05/1.172, allocations: 1.062 kB / 1.329 GB, free: 19.91 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.001407/1.174, allocations: 0.8134 MB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.174, allocations: 16.66 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.723e-05/1.174, allocations: 11.41 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/1.174, allocations: 66.95 kB / 1.33 GB, free: 19.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/1.174, allocations: 68.06 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/1.175, allocations: 456.1 kB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/1.175, allocations: 27.69 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/1.175, allocations: 25.66 kB / 1.33 GB, free: 18.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/1.176, allocations: 329 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.176, allocations: 1.188 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/1.176, allocations: 11.41 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/1.176, allocations: 6.344 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000587/1.177, allocations: 211.5 kB / 1.331 GB, free: 18.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/1.178, allocations: 1.104 MB / 1.332 GB, free: 17.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/1.179, allocations: 230.6 kB / 1.332 GB, free: 17.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/1.179, allocations: 103.2 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/1.179, allocations: 12.06 kB / 1.332 GB, free: 17.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/1.179, allocations: 160.9 kB / 1.332 GB, free: 17.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/1.179, allocations: 0 / 1.332 GB, free: 17.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.00093/1.18, allocations: 347.5 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.18, allocations: 107.1 kB / 1.333 GB, free: 17.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006123/1.181, allocations: 467.5 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.181, allocations: 31.62 kB / 1.333 GB, free: 16.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/1.181, allocations: 238.5 kB / 1.334 GB, free: 16.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/1.181, allocations: 71.86 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.181, allocations: 60.03 kB / 1.334 GB, free: 16.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.181, allocations: 351.5 kB / 1.334 GB, free: 16.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/1.182, allocations: 86.72 kB / 1.334 GB, free: 16.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/1.182, allocations: 155.7 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/1.183, allocations: 223.9 kB / 1.334 GB, free: 16.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.183, allocations: 0.625 kB / 1.334 GB, free: 16.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006613/1.183, allocations: 301.6 kB / 1.335 GB, free: 15.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.183, allocations: 9.531 kB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.183, allocations: 5.984 kB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.183, allocations: 2.75 kB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/1.184, allocations: 59.03 kB / 1.335 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.184, allocations: 4.125 kB / 1.335 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/1.184, allocations: 33.36 kB / 1.335 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/1.184, allocations: 12.39 kB / 1.335 GB, free: 15.89 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.0001925/1.184, allocations: 186.6 kB / 1.335 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/1.184, allocations: 44.45 kB / 1.335 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/1.184, allocations: 47.36 kB / 1.335 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/1.184, allocations: 2.5 kB / 1.335 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.184, allocations: 1.844 kB / 1.335 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.184, allocations: 4.688 kB / 1.335 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/1.185, allocations: 425.5 kB / 1.336 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.185, allocations: 0 / 1.336 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/1.185, allocations: 33.98 kB / 1.336 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/1.185, allocations: 1.781 kB / 1.336 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/1.185, allocations: 11.02 kB / 1.336 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.185, allocations: 1.094 kB / 1.336 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.185, allocations: 1.578 kB / 1.336 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.186, allocations: 429.1 kB / 1.336 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/1.186, allocations: 149.3 kB / 1.336 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/1.186, allocations: 7.031 kB / 1.336 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/1.186, allocations: 13.39 kB / 1.336 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/1.186, allocations: 20.14 kB / 1.336 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/1.187, allocations: 11.75 kB / 1.336 GB, free: 15.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005144/1.187, allocations: 327.8 kB / 1.336 GB, free: 14.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.187, allocations: 0 / 1.336 GB, free: 14.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000429/1.187, allocations: 78.61 kB / 1.337 GB, free: 14.84 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.002601/1.19, allocations: 1.275 MB / 1.338 GB, free: 13.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006491/1.191, allocations: 215.5 kB / 1.338 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.191, allocations: 0 / 1.338 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/1.191, allocations: 104.1 kB / 1.338 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/1.192, allocations: 120.5 kB / 1.338 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/1.197, allocations: 3.477 MB / 1.342 GB, free: 11.78 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/1.197, allocations: 0.8151 MB / 1.342 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002509/1.197, allocations: 47.62 kB / 1.342 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/1.197, allocations: 147 kB / 1.343 GB, free: 10.96 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/1.197, allocations: 0 / 1.343 GB, free: 10.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/1.233, allocations: 9.242 MB / 1.352 GB, free: 9.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.076/10.31, allocations: 10.22 kB / 1.352 GB, free: 9.812 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.224342292000074]