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.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.001463/0.001463, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001577/0.001577, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.664/3.664, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002199/0.002199, allocations: 65.77 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.5238, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005103/0.5289, allocations: 2.778 MB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.5321, allocations: 1.625 MB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.5324, allocations: 15.88 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.5329, allocations: 115.1 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.5334, allocations: 182.9 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009371/0.5343, allocations: 406.1 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.535, allocations: 0.5499 MB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.5352, allocations: 133.7 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/0.5357, allocations: 223 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.5359, allocations: 187 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.536, allocations: 40 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.5362, allocations: 111.9 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.5364, allocations: 107.6 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.5366, allocations: 171 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008006/0.5374, allocations: 0.6147 MB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.5374, allocations: 4 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5374, allocations: 0 / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.5374, allocations: 0 / 1.371 GB, free: 6.328 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.001344/0.5387, allocations: 0.7397 MB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5388, allocations: 12.03 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.5391, allocations: 76.58 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.5398, allocations: 395.6 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.5399, allocations: 25.03 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.5399, allocations: 27.94 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.5406, allocations: 379.5 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5406, allocations: 0 / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.5406, allocations: 12 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.5406, allocations: 4 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.5411, allocations: 221.8 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.5426, allocations: 0.9336 MB / 1.374 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.5432, allocations: 226.9 kB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.5434, allocations: 104.8 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.5435, allocations: 4 kB / 1.374 GB, free: 3.047 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.5438, allocations: 153.5 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.5439, allocations: 4 kB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0008981/0.5447, allocations: 364.9 kB / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.5448, allocations: 81.11 kB / 1.375 GB, free: 2.422 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/0.5454, allocations: 445.8 kB / 1.375 GB, free: 1.977 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.5454, allocations: 29.7 kB / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.5457, allocations: 236.6 kB / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.5458, allocations: 79.34 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.874e-05/0.5459, allocations: 65.59 kB / 1.375 GB, free: 1.555 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.5461, allocations: 354.8 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5463, allocations: 79.95 kB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.5466, allocations: 214.7 kB / 1.376 GB, free: 0.875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.5471, allocations: 222.9 kB / 1.376 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5471, allocations: 4 kB / 1.376 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006294/0.5477, allocations: 307.1 kB / 1.376 GB, free: 340 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5477, allocations: 12.03 kB / 1.376 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5477, allocations: 8 kB / 1.376 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5477, allocations: 0 / 1.376 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.548, allocations: 47.97 kB / 1.377 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.548, allocations: 7.938 kB / 1.377 GB, free: 264 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.5482, allocations: 23.88 kB / 1.377 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.5482, allocations: 8 kB / 1.377 GB, free: 232 kB / 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.0002097/0.5484, allocations: 173.8 kB / 1.377 GB, free: 48 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.5484, allocations: 47.66 kB / 1.377 GB, free: 0 / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006477/0.5491, allocations: 295.5 kB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.5491, allocations: 7.984 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5491, allocations: 0 / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5491, allocations: 0 / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.5495, allocations: 305 kB / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5495, allocations: 0 / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.5497, allocations: 39.91 kB / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5497, allocations: 4 kB / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.5497, allocations: 15.92 kB / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5497, allocations: 0 / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5497, allocations: 0 / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.5506, allocations: 428.5 kB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.5507, allocations: 67.66 kB / 1.378 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.5508, allocations: 7.938 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5509, allocations: 16.05 kB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.551, allocations: 23.95 kB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.551, allocations: 8 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003576/0.5514, allocations: 319.1 kB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.5514, allocations: 0 / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003326/0.5517, allocations: 79.81 kB / 1.378 GB, free: 14.36 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.001796/0.5535, allocations: 458.7 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000592/0.5541, allocations: 218.1 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5541, allocations: 4 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.5544, allocations: 107.9 kB / 1.379 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.5549, allocations: 103.3 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.5563, allocations: 0.7109 MB / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5566, allocations: 215.3 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.5568, allocations: 51.25 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5569, allocations: 39.42 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of SimCode: time 7.01e-07/0.5569, allocations: 4 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of Templates: time 0.01169/0.5686, allocations: 5.279 MB / 1.385 GB, free: 7.465 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.375221632421017]