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.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.001635/0.001635, allocations: 109.8 kB / 16.46 MB, free: 6.035 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.001838/0.001838, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 497.2 MB / 0.7811 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.86 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3424, allocations: 173.9 MB / 1.304 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004846/0.3473, allocations: 2.934 MB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.3499, allocations: 1.523 MB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.3501, allocations: 11.94 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.3505, allocations: 115.1 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.3509, allocations: 139.1 kB / 1.309 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009503/0.3518, allocations: 414.2 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.3524, allocations: 0.5344 MB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.3527, allocations: 145.4 kB / 1.31 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.353, allocations: 215.1 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.3533, allocations: 195 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.3533, allocations: 44 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.3535, allocations: 99.89 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3536, allocations: 107.6 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3539, allocations: 218.7 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007465/0.3546, allocations: 0.603 MB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3546, allocations: 0 / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3546, allocations: 0 / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3546, allocations: 0 / 1.311 GB, free: 10.27 MB / 1.014 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.001279/0.3559, allocations: 0.8072 MB / 1.312 GB, free: 9.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3559, allocations: 12.92 kB / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.613e-05/0.356, allocations: 58.73 kB / 1.312 GB, free: 9.332 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.3561, allocations: 60.56 kB / 1.312 GB, free: 9.273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.3569, allocations: 434.9 kB / 1.312 GB, free: 8.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.3569, allocations: 36.56 kB / 1.312 GB, free: 8.781 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.357, allocations: 28 kB / 1.312 GB, free: 8.754 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.3578, allocations: 328 kB / 1.313 GB, free: 8.406 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3578, allocations: 3.938 kB / 1.313 GB, free: 8.402 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.3578, allocations: 16 kB / 1.313 GB, free: 8.387 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3578, allocations: 4 kB / 1.313 GB, free: 8.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/0.3585, allocations: 210.1 kB / 1.313 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.3605, allocations: 1.108 MB / 1.314 GB, free: 7.004 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.3613, allocations: 217 kB / 1.314 GB, free: 6.785 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.3617, allocations: 112.8 kB / 1.314 GB, free: 6.672 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.3617, allocations: 4 kB / 1.314 GB, free: 6.668 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.3621, allocations: 151.3 kB / 1.315 GB, free: 6.508 MB / 1.014 GB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/0.3621, allocations: 0 / 1.315 GB, free: 6.508 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.000817/0.3629, allocations: 350.9 kB / 1.315 GB, free: 6.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.363, allocations: 106.8 kB / 1.315 GB, free: 6.031 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.3635, allocations: 457.8 kB / 1.315 GB, free: 5.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.3635, allocations: 29.7 kB / 1.315 GB, free: 5.535 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3637, allocations: 240.6 kB / 1.316 GB, free: 5.297 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.3638, allocations: 71.39 kB / 1.316 GB, free: 5.227 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.3639, allocations: 57.69 kB / 1.316 GB, free: 5.164 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3641, allocations: 354.8 kB / 1.316 GB, free: 4.809 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.3643, allocations: 79.95 kB / 1.316 GB, free: 4.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.3646, allocations: 173.1 kB / 1.316 GB, free: 4.535 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.365, allocations: 217.7 kB / 1.317 GB, free: 4.305 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.365, allocations: 0 / 1.317 GB, free: 4.305 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006118/0.3656, allocations: 308 kB / 1.317 GB, free: 4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3657, allocations: 8 kB / 1.317 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3657, allocations: 3.938 kB / 1.317 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3657, allocations: 7.938 kB / 1.317 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3659, allocations: 52.12 kB / 1.317 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3659, allocations: 3.938 kB / 1.317 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.3661, allocations: 35.77 kB / 1.317 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.3661, allocations: 12 kB / 1.317 GB, free: 3.879 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.0002114/0.3663, allocations: 174.4 kB / 1.317 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.3664, allocations: 51.59 kB / 1.317 GB, free: 3.648 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3665, allocations: 47.83 kB / 1.317 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3665, allocations: 4 kB / 1.317 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3665, allocations: 0 / 1.317 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3665, allocations: 0 / 1.317 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.367, allocations: 421.2 kB / 1.318 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.367, allocations: 0 / 1.318 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.3672, allocations: 31.97 kB / 1.318 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3672, allocations: 4 kB / 1.318 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3672, allocations: 8 kB / 1.318 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3672, allocations: 0 / 1.318 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3672, allocations: 4 kB / 1.318 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.368, allocations: 424.4 kB / 1.318 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.3682, allocations: 144.8 kB / 1.318 GB, free: 2.496 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.3682, allocations: 7.984 kB / 1.318 GB, free: 2.488 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3684, allocations: 15.98 kB / 1.318 GB, free: 2.473 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.3685, allocations: 20.05 kB / 1.318 GB, free: 2.453 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3685, allocations: 11.98 kB / 1.318 GB, free: 2.441 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003584/0.3689, allocations: 315.1 kB / 1.319 GB, free: 2.137 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 0 / 1.319 GB, free: 2.137 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003155/0.3692, allocations: 79.81 kB / 1.319 GB, free: 2.059 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.002551/0.3717, allocations: 1.281 MB / 1.32 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.3723, allocations: 212.8 kB / 1.32 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3723, allocations: 4.312 kB / 1.32 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.3725, allocations: 103.9 kB / 1.32 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.373, allocations: 111.9 kB / 1.32 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.3779, allocations: 3.429 MB / 1.324 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.3783, allocations: 0.8187 MB / 1.324 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.3785, allocations: 59.23 kB / 1.325 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.3787, allocations: 143.4 kB / 1.325 GB, free: 11.91 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3787, allocations: 0 / 1.325 GB, free: 11.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.4124, allocations: 9.033 MB / 1.333 GB, free: 3.086 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.664, allocations: 13.98 kB / 1.333 GB, free: 3.074 MB / 1.029 GB " [Timeout remaining time 291] (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_2/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: 14.901028276886791]