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.01547/0.01547, allocations: 108.1 kB / 15.06 MB, free: 6.043 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.001844/0.001844, allocations: 183.1 kB / 15.95 MB, free: 5.957 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 1.912/1.912, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.333/2.333, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008286/0.0008288, allocations: 16 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6089, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004522/0.6135, allocations: 2.255 MB / 0.6856 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.6167, allocations: 1.005 MB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.6171, allocations: 11.66 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.6172, allocations: 35.67 kB / 0.6866 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.6176, allocations: 117.8 kB / 0.6867 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.6186, allocations: 247.5 kB / 0.6869 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.619, allocations: 272.8 kB / 0.6872 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.6193, allocations: 136.6 kB / 0.6873 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.6195, allocations: 123.5 kB / 0.6874 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.6198, allocations: 124.5 kB / 0.6876 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.6198, allocations: 8.656 kB / 0.6876 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.62, allocations: 60.36 kB / 0.6876 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.6201, allocations: 50.77 kB / 0.6877 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.6202, allocations: 82.39 kB / 0.6878 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.6208, allocations: 366.1 kB / 0.6881 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.878e-06/0.6208, allocations: 0 / 0.6881 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.157e-06/0.6208, allocations: 3.938 kB / 0.6881 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.6208, allocations: 0 / 0.6881 GB, free: 13.71 MB / 0.5261 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.001094/0.6219, allocations: 0.6594 MB / 0.6887 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.622, allocations: 8.781 kB / 0.6888 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.6221, allocations: 46.25 kB / 0.6888 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.6227, allocations: 371.9 kB / 0.6892 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.6227, allocations: 19.16 kB / 0.6892 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.6228, allocations: 24.64 kB / 0.6892 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.6235, allocations: 312.1 kB / 0.6895 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.6236, allocations: 0 / 0.6895 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.6236, allocations: 10.59 kB / 0.6895 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.6236, allocations: 10.69 kB / 0.6895 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.6243, allocations: 210 kB / 0.6897 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.6259, allocations: 1.034 MB / 0.6907 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.6266, allocations: 222.3 kB / 0.6909 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.6267, allocations: 7.109 kB / 0.6909 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/0.6271, allocations: 162.4 kB / 0.6911 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 3.306e-06/0.6272, allocations: 0 / 0.6911 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.001075/0.6282, allocations: 368.6 kB / 0.6915 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.6283, allocations: 55.77 kB / 0.6915 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.6288, allocations: 339.8 kB / 0.6918 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.6288, allocations: 31.8 kB / 0.6919 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.629, allocations: 202.3 kB / 0.6921 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.6291, allocations: 76.62 kB / 0.6921 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.6291, allocations: 6.125 kB / 0.6921 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.6292, allocations: 341.5 kB / 0.6925 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.6295, allocations: 84.91 kB / 0.6925 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.6298, allocations: 132.4 kB / 0.6927 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.6301, allocations: 117.8 kB / 0.6928 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.083e-06/0.6301, allocations: 0.8438 kB / 0.6928 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000764/0.6309, allocations: 326 kB / 0.6931 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.631, allocations: 478 kB / 0.6935 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.77e-06/0.631, allocations: 1.406 kB / 0.6935 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6311, allocations: 3.219 kB / 0.6935 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.6313, allocations: 49.41 kB / 0.6936 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.627e-06/0.6314, allocations: 3.469 kB / 0.6936 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.6316, allocations: 38.84 kB / 0.6936 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.6316, allocations: 7.25 kB / 0.6936 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.434e-06/0.6317, allocations: 3.344 kB / 0.6936 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006307/0.6323, allocations: 276.5 kB / 0.6939 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.687e-06/0.6323, allocations: 5.016 kB / 0.6939 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.474e-06/0.6324, allocations: 3.734 kB / 0.6939 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.6326, allocations: 38.72 kB / 0.694 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.295e-06/0.6326, allocations: 6.875 kB / 0.694 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.6328, allocations: 21.22 kB / 0.694 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.6328, allocations: 15.86 kB / 0.694 GB, free: 9.645 MB / 0.5261 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.0002328/0.6331, allocations: 229 kB / 0.6942 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.6332, allocations: 39.92 kB / 0.6943 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.6333, allocations: 42.2 kB / 0.6943 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.369e-06/0.6333, allocations: 2.25 kB / 0.6943 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6333, allocations: 0 / 0.6943 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-06/0.6333, allocations: 6.734 kB / 0.6943 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.6338, allocations: 369.7 kB / 0.6947 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.684e-06/0.6338, allocations: 5.125 kB / 0.6947 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.634, allocations: 37.92 kB / 0.6947 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.593e-06/0.6341, allocations: 1.25 kB / 0.6947 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.6341, allocations: 8.578 kB / 0.6947 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.107e-06/0.6341, allocations: 0 / 0.6947 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-06/0.6341, allocations: 1.312 kB / 0.6947 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.6352, allocations: 433.6 kB / 0.6951 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.6354, allocations: 131 kB / 0.6952 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.6355, allocations: 14.73 kB / 0.6953 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.6357, allocations: 20.64 kB / 0.6953 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.6358, allocations: 12.31 kB / 0.6953 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.6358, allocations: 10.61 kB / 0.6953 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003279/0.6362, allocations: 242.5 kB / 0.6955 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.03e-07/0.6362, allocations: 1.344 kB / 0.6955 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006197/0.6368, allocations: 109 kB / 0.6956 GB, free: 8.586 MB / 0.5261 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.0002245/0.637, allocations: 130.9 kB / 0.6958 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.6381, allocations: 469.1 kB / 0.6962 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6381, allocations: 0.5 kB / 0.6962 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.6384, allocations: 111.3 kB / 0.6963 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.6389, allocations: 73.75 kB / 0.6964 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.6403, allocations: 0.6809 MB / 0.697 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6406, allocations: 0.7925 MB / 0.6978 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002533/0.6409, allocations: 38.77 kB / 0.6979 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.641, allocations: 28.34 kB / 0.6979 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of SimCode: time 1.398e-06/0.641, allocations: 0 / 0.6979 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of Templates: time 0.01071/0.6517, allocations: 3.29 MB / 0.7011 GB, free: 5.875 MB / 0.5261 GB