Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01751/0.01751, allocations: 220.6 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001786/0.001786, allocations: 178.7 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.852/3.852, allocations: 389.1 MB / 405.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.47/4.47, allocations: 472.3 MB / 0.9018 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007419/0.0007421, allocations: 15.06 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1347, allocations: 98.72 MB / 1.104 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002537/0.1373, allocations: 2.266 MB / 1.106 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.139, allocations: 1.009 MB / 1.107 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.1393, allocations: 8 kB / 1.107 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1395, allocations: 47.12 kB / 1.107 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.1398, allocations: 91.39 kB / 1.107 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.1407, allocations: 260.1 kB / 1.108 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.1411, allocations: 395.5 kB / 1.108 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.1413, allocations: 129.4 kB / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1415, allocations: 115.4 kB / 1.108 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1417, allocations: 127.2 kB / 1.108 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.1418, allocations: 8 kB / 1.108 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1419, allocations: 63.89 kB / 1.108 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.142, allocations: 51.7 kB / 1.108 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.1421, allocations: 81.52 kB / 1.109 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.1424, allocations: 363.3 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.648e-06/0.1424, allocations: 7.094 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.74e-06/0.1424, allocations: 0 / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.1425, allocations: 0 / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000986/0.1435, allocations: 0.6593 MB / 1.11 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1435, allocations: 8.031 kB / 1.11 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.859e-05/0.1436, allocations: 47.44 kB / 1.11 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.1442, allocations: 362.6 kB / 1.11 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.1442, allocations: 20.56 kB / 1.11 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.1443, allocations: 24.72 kB / 1.11 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1449, allocations: 309.5 kB / 1.11 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1449, allocations: 3.938 kB / 1.11 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.145, allocations: 12 kB / 1.11 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.145, allocations: 10.66 kB / 1.11 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.1456, allocations: 206.1 kB / 1.111 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1469, allocations: 1.035 MB / 1.112 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.1476, allocations: 227.9 kB / 1.112 GB, free: 34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.1479, allocations: 116.8 kB / 1.112 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1479, allocations: 0 / 1.112 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.1484, allocations: 164.9 kB / 1.112 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 3.079e-06/0.1484, allocations: 0 / 1.112 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.0009621/0.1494, allocations: 361 kB / 1.112 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1494, allocations: 59.39 kB / 1.112 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.1498, allocations: 349 kB / 1.113 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1499, allocations: 29.7 kB / 1.113 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.15, allocations: 208 kB / 1.113 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.1501, allocations: 63.09 kB / 1.113 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.1501, allocations: 8 kB / 1.113 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.1502, allocations: 346.8 kB / 1.113 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.1504, allocations: 83.61 kB / 1.113 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.1507, allocations: 128 kB / 1.114 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.151, allocations: 121.9 kB / 1.114 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.153e-06/0.151, allocations: 3.953 kB / 1.114 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006791/0.1517, allocations: 329.1 kB / 1.114 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/0.1518, allocations: 150.7 kB / 1.114 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.017e-06/0.1518, allocations: 0.5 kB / 1.114 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1518, allocations: 4 kB / 1.114 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.1521, allocations: 45.98 kB / 1.114 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.941e-06/0.1521, allocations: 3.984 kB / 1.114 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1523, allocations: 27.25 kB / 1.114 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1524, allocations: 11.98 kB / 1.114 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.338e-06/0.1524, allocations: 4 kB / 1.114 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005474/0.1529, allocations: 270 kB / 1.114 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-06/0.153, allocations: 3.953 kB / 1.114 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.393e-06/0.153, allocations: 6.281 kB / 1.115 GB, free: 31.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.1532, allocations: 31.98 kB / 1.115 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.839e-06/0.1532, allocations: 19.27 kB / 1.115 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1534, allocations: 31.73 kB / 1.115 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1534, allocations: 8 kB / 1.115 GB, free: 31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.1536, allocations: 237.1 kB / 1.115 GB, free: 30.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.1537, allocations: 31.62 kB / 1.115 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.1538, allocations: 46.45 kB / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.961e-06/0.1538, allocations: 4 kB / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.678e-06/0.1538, allocations: 0 / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-06/0.1538, allocations: 0 / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.1542, allocations: 377.2 kB / 1.115 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-06/0.1542, allocations: 0 / 1.115 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.1545, allocations: 33.47 kB / 1.115 GB, free: 30.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.841e-06/0.1545, allocations: 3.281 kB / 1.115 GB, free: 30.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.1545, allocations: 11.94 kB / 1.115 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.383e-06/0.1545, allocations: 3.953 kB / 1.115 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.381e-06/0.1545, allocations: 0 / 1.115 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.1555, allocations: 438.8 kB / 1.116 GB, free: 29.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1557, allocations: 124.7 kB / 1.116 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.1557, allocations: 14.64 kB / 1.116 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.1559, allocations: 8 kB / 1.116 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.156, allocations: 23.92 kB / 1.116 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.1561, allocations: 7.984 kB / 1.116 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002725/0.1564, allocations: 246.5 kB / 1.116 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.89e-07/0.1564, allocations: 4 kB / 1.116 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000553/0.1569, allocations: 111.7 kB / 1.116 GB, free: 29.24 MB / 0.6042 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.nextTime,cooMod.index) * Number of discrete states: 2 (cooMod.nextTime,cooMod.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002002/0.1572, allocations: 127.2 kB / 1.116 GB, free: 29.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009/0.1581, allocations: 464.1 kB / 1.117 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.054e-06/0.1581, allocations: 0 / 1.117 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.1584, allocations: 111.9 kB / 1.117 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.159, allocations: 74.19 kB / 1.117 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1602, allocations: 0.6849 MB / 1.118 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1604, allocations: 0.7957 MB / 1.118 GB, free: 26.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000242/0.1607, allocations: 43.89 kB / 1.118 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.1608, allocations: 23.44 kB / 1.118 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.645e-06/0.1608, allocations: 0 / 1.118 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.0125/0.1733, allocations: 3.287 MB / 1.122 GB, free: 23.8 MB / 0.6042 GB