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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.951/2.951, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.91 kB / 1.104 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004679/1.175, allocations: 2.953 MB / 1.272 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002752/1.178, allocations: 1.529 MB / 1.273 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/1.178, allocations: 12.12 kB / 1.273 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004719/1.179, allocations: 101.8 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003971/1.179, allocations: 146.1 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/1.18, allocations: 418.3 kB / 1.274 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005951/1.181, allocations: 0.5322 MB / 1.274 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/1.181, allocations: 141 kB / 1.274 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/1.181, allocations: 206.2 kB / 1.275 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/1.181, allocations: 203.5 kB / 1.275 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/1.181, allocations: 42.09 kB / 1.275 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/1.182, allocations: 96.48 kB / 1.275 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/1.182, allocations: 112.3 kB / 1.275 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/1.182, allocations: 208.1 kB / 1.275 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008196/1.183, allocations: 0.6063 MB / 1.276 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.183, allocations: 4 kB / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.183, allocations: 0 / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.183, allocations: 0.875 kB / 1.276 GB, free: 3.133 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.001234/1.184, allocations: 0.7987 MB / 1.277 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.184, allocations: 9.25 kB / 1.277 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/1.184, allocations: 71.2 kB / 1.277 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/1.184, allocations: 53.55 kB / 1.277 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/1.185, allocations: 445.6 kB / 1.277 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/1.185, allocations: 28.09 kB / 1.277 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/1.185, allocations: 28.94 kB / 1.277 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/1.186, allocations: 326.6 kB / 1.278 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/1.186, allocations: 0.7188 kB / 1.278 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/1.186, allocations: 10.62 kB / 1.278 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.186, allocations: 7.312 kB / 1.278 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/1.186, allocations: 216.1 kB / 1.278 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/1.188, allocations: 1.092 MB / 1.279 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/1.188, allocations: 226.5 kB / 1.279 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/1.188, allocations: 108.1 kB / 1.279 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/1.188, allocations: 7.328 kB / 1.279 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/1.189, allocations: 151.8 kB / 1.279 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.304e-06/1.189, allocations: 3.984 kB / 1.279 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009214/1.19, allocations: 356.6 kB / 1.28 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.19, allocations: 110.1 kB / 1.28 GB, free: 472 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/1.19, allocations: 454 kB / 1.28 GB, free: 248 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/1.19, allocations: 31.48 kB / 1.28 GB, free: 212 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/1.191, allocations: 229.3 kB / 1.28 GB, free: 20 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/1.191, allocations: 75.88 kB / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.191, allocations: 62.88 kB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.191, allocations: 348.6 kB / 1.281 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.191, allocations: 87.83 kB / 1.281 GB, free: 15.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/1.192, allocations: 170.8 kB / 1.281 GB, free: 15.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/1.192, allocations: 224.9 kB / 1.281 GB, free: 15.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.192, allocations: 0 / 1.281 GB, free: 15.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006224/1.193, allocations: 305.9 kB / 1.282 GB, free: 15.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.193, allocations: 5.094 kB / 1.282 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.193, allocations: 2.25 kB / 1.282 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.193, allocations: 1.5 kB / 1.282 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/1.193, allocations: 58.31 kB / 1.282 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.193, allocations: 3.688 kB / 1.282 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/1.193, allocations: 35.16 kB / 1.282 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/1.193, allocations: 8.391 kB / 1.282 GB, free: 15.14 MB / 1.014 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.0002229/1.193, allocations: 181.5 kB / 1.282 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/1.193, allocations: 44.12 kB / 1.282 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/1.194, allocations: 47.34 kB / 1.282 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.194, allocations: 4.5 kB / 1.282 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.194, allocations: 0 / 1.282 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.194, allocations: 1.547 kB / 1.282 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/1.194, allocations: 416.9 kB / 1.282 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.194, allocations: 0 / 1.282 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/1.194, allocations: 41.47 kB / 1.282 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.194, allocations: 1.469 kB / 1.282 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/1.194, allocations: 4.844 kB / 1.282 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.194, allocations: 3.984 kB / 1.282 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.194, allocations: 0 / 1.282 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/1.195, allocations: 431.8 kB / 1.283 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/1.195, allocations: 138.4 kB / 1.283 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/1.195, allocations: 4.656 kB / 1.283 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/1.196, allocations: 14.91 kB / 1.283 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/1.196, allocations: 23.53 kB / 1.283 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/1.196, allocations: 7.547 kB / 1.283 GB, free: 14.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003757/1.196, allocations: 318.4 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.196, allocations: 8 kB / 1.283 GB, free: 14.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003477/1.196, allocations: 80.64 kB / 1.283 GB, free: 14.09 MB / 1.014 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.002819/1.199, allocations: 1.293 MB / 1.285 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005882/1.2, allocations: 207 kB / 1.285 GB, free: 13.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.2, allocations: 0 / 1.285 GB, free: 13.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/1.2, allocations: 107.8 kB / 1.285 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/1.201, allocations: 108.9 kB / 1.285 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.206, allocations: 3.425 MB / 1.288 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/1.206, allocations: 0.8122 MB / 1.289 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002171/1.207, allocations: 45.33 kB / 1.289 GB, free: 10.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.207, allocations: 145.9 kB / 1.289 GB, free: 10.23 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.207, allocations: 0 / 1.289 GB, free: 10.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/1.246, allocations: 9.069 MB / 1.298 GB, free: 9.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.01/10.26, allocations: 4.859 kB / 1.298 GB, free: 9.086 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 16.82660822290927]