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.001771/0.001771, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002088/0.002088, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.793/2.793, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [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.002251/0.002251, allocations: 71.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8514/0.8536, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00355/0.8572, allocations: 2.777 MB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.8594, allocations: 1.621 MB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.8597, allocations: 16.28 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.86, allocations: 103.9 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.8604, allocations: 192.6 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.8611, allocations: 410 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.8615, allocations: 0.5481 MB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.8618, allocations: 130.8 kB / 1.16 GB, free: 29.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.862, allocations: 222 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.8622, allocations: 190.4 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.8623, allocations: 43.97 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.8625, allocations: 102 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.8626, allocations: 112.7 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.8627, allocations: 167.7 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.8632, allocations: 0.6273 MB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8632, allocations: 0 / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8632, allocations: 0 / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.8632, allocations: 0 / 1.161 GB, free: 28.91 MB / 1.076 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.001064/0.8643, allocations: 0.7349 MB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.8643, allocations: 14.69 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.8646, allocations: 80.62 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.8652, allocations: 399.2 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.8652, allocations: 20.66 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.8652, allocations: 29.31 kB / 1.162 GB, free: 28.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.8658, allocations: 382.4 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.8658, allocations: 4 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.8658, allocations: 10.78 kB / 1.163 GB, free: 27.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.8658, allocations: 7.938 kB / 1.163 GB, free: 27.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.8663, allocations: 212.7 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.8673, allocations: 0.9354 MB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.8678, allocations: 231.3 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.8681, allocations: 106.8 kB / 1.164 GB, free: 26.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.8681, allocations: 2.812 kB / 1.164 GB, free: 26.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.8684, allocations: 158.7 kB / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 2.285e-06/0.8684, allocations: 4 kB / 1.164 GB, free: 26.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0007621/0.8692, allocations: 356.9 kB / 1.165 GB, free: 26.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.8692, allocations: 80.05 kB / 1.165 GB, free: 26.51 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.8696, allocations: 443.6 kB / 1.165 GB, free: 26.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.8696, allocations: 32.52 kB / 1.165 GB, free: 26.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8697, allocations: 240.9 kB / 1.165 GB, free: 26.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.8698, allocations: 74.53 kB / 1.165 GB, free: 26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.8698, allocations: 58.97 kB / 1.165 GB, free: 25.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.8699, allocations: 354.4 kB / 1.166 GB, free: 25.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.8701, allocations: 91.23 kB / 1.166 GB, free: 25.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.8703, allocations: 203 kB / 1.166 GB, free: 25.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.8708, allocations: 226.3 kB / 1.166 GB, free: 25.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8708, allocations: 0 / 1.166 GB, free: 25.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005417/0.8713, allocations: 305.8 kB / 1.167 GB, free: 25.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8713, allocations: 9.188 kB / 1.167 GB, free: 25.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.8713, allocations: 6.781 kB / 1.167 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.8713, allocations: 2.625 kB / 1.167 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.8716, allocations: 49.97 kB / 1.167 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.8716, allocations: 5.906 kB / 1.167 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.8718, allocations: 25.72 kB / 1.167 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.8718, allocations: 9.25 kB / 1.167 GB, free: 25.14 MB / 1.076 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.0001511/0.8719, allocations: 176.4 kB / 1.167 GB, free: 25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.872, allocations: 46.03 kB / 1.167 GB, free: 24.97 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.8725, allocations: 298.8 kB / 1.167 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8725, allocations: 2.625 kB / 1.167 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8726, allocations: 2.625 kB / 1.167 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8726, allocations: 0 / 1.167 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.8728, allocations: 309.3 kB / 1.167 GB, free: 24.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8728, allocations: 0 / 1.167 GB, free: 24.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.873, allocations: 35.78 kB / 1.167 GB, free: 24.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.873, allocations: 4 kB / 1.167 GB, free: 24.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.873, allocations: 10.69 kB / 1.167 GB, free: 24.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.873, allocations: 6.906 kB / 1.167 GB, free: 24.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.873, allocations: 0 / 1.167 GB, free: 24.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.8738, allocations: 432 kB / 1.168 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.8739, allocations: 71 kB / 1.168 GB, free: 24.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.8739, allocations: 7.938 kB / 1.168 GB, free: 24.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.8741, allocations: 20.06 kB / 1.168 GB, free: 24.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.8741, allocations: 19.83 kB / 1.168 GB, free: 24.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.8742, allocations: 5.812 kB / 1.168 GB, free: 24.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002513/0.8744, allocations: 315.3 kB / 1.168 GB, free: 24.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8744, allocations: 0 / 1.168 GB, free: 24.19 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003234/0.8747, allocations: 84.23 kB / 1.168 GB, free: 24.17 MB / 1.076 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.001584/0.8763, allocations: 458 kB / 1.169 GB, free: 23.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.8768, allocations: 220.1 kB / 1.169 GB, free: 23.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8768, allocations: 0 / 1.169 GB, free: 23.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.877, allocations: 107.2 kB / 1.169 GB, free: 23.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.8775, allocations: 108.7 kB / 1.169 GB, free: 23.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.8786, allocations: 0.7104 MB / 1.17 GB, free: 23.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.8787, allocations: 216.1 kB / 1.17 GB, free: 23.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.8789, allocations: 50.19 kB / 1.17 GB, free: 23.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.879, allocations: 37.23 kB / 1.17 GB, free: 23.28 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.879, allocations: 4 kB / 1.17 GB, free: 23.28 MB / 1.076 GB Notification: Performance of Templates: time 0.009869/0.8888, allocations: 4.917 MB / 1.175 GB, free: 22.69 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] 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: 8.918733902974054]