Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009415/0.009415, allocations: 107.3 kB / 15.06 MB, free: 5.559 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.001137/0.001137, allocations: 182.9 kB / 15.95 MB, free: 5.523 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 2.078/2.078, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.278/2.278, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.6112, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00146/0.6127, allocations: 1.177 MB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007761/0.6135, allocations: 462.3 kB / 0.6849 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.6135, allocations: 1.125 kB / 0.6849 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.833e-05/0.6136, allocations: 4.641 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.6137, allocations: 15.86 kB / 0.6849 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.6139, allocations: 25.84 kB / 0.685 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.614, allocations: 54.77 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.6141, allocations: 12.83 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.6142, allocations: 43.81 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.6143, allocations: 34.02 kB / 0.6851 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.6144, allocations: 4.531 kB / 0.6851 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.6144, allocations: 7.812 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.6144, allocations: 11.53 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.6145, allocations: 41.23 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.6146, allocations: 51.05 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.049e-06/0.6146, allocations: 0 / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.915e-06/0.6146, allocations: 0 / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.749e-06/0.6146, allocations: 0 / 0.6852 GB, free: 15.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005882/0.6152, allocations: 445.5 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6153, allocations: 9.359 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.6153, allocations: 14.11 kB / 0.6857 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.6155, allocations: 178 kB / 0.6858 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.6155, allocations: 3.844 kB / 0.6858 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.6156, allocations: 9.844 kB / 0.6858 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.616, allocations: 127.9 kB / 0.686 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.264e-06/0.616, allocations: 0 / 0.686 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.616, allocations: 3.062 kB / 0.686 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-06/0.616, allocations: 1.344 kB / 0.686 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.6164, allocations: 108.9 kB / 0.6861 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.617, allocations: 345.5 kB / 0.6864 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.6175, allocations: 123.3 kB / 0.6865 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.6175, allocations: 1.5 kB / 0.6865 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.6179, allocations: 130.7 kB / 0.6866 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 3.078e-06/0.6179, allocations: 0 / 0.6866 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0009028/0.6188, allocations: 304.5 kB / 0.6869 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.6189, allocations: 90.14 kB / 0.687 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.619, allocations: 124 kB / 0.6871 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.619, allocations: 33.52 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.6191, allocations: 97.03 kB / 0.6873 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.6191, allocations: 13.64 kB / 0.6873 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.6192, allocations: 5.25 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.6192, allocations: 324.2 kB / 0.6876 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.6195, allocations: 69.09 kB / 0.6877 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.6198, allocations: 78.11 kB / 0.6877 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.62, allocations: 108 kB / 0.6878 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.62, allocations: 0 / 0.6878 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006561/0.6207, allocations: 275.2 kB / 0.6881 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.6208, allocations: 67.75 kB / 0.6882 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.412e-06/0.6208, allocations: 0 / 0.6882 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6208, allocations: 5.016 kB / 0.6882 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.621, allocations: 21.44 kB / 0.6882 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.808e-06/0.621, allocations: 0.9062 kB / 0.6882 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.6212, allocations: 38.83 kB / 0.6882 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.6213, allocations: 3.844 kB / 0.6882 GB, free: 13.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001183/0.6214, allocations: 157.2 kB / 0.6884 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.6214, allocations: 8.719 kB / 0.6884 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.6215, allocations: 13.09 kB / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-06/0.6215, allocations: 0 / 0.6884 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6215, allocations: 5.328 kB / 0.6884 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-06/0.6215, allocations: 0 / 0.6884 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.6217, allocations: 196.3 kB / 0.6886 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-06/0.6217, allocations: 256 / 0.6886 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.6218, allocations: 20.12 kB / 0.6886 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6218, allocations: 1.188 kB / 0.6886 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.6219, allocations: 6.875 kB / 0.6886 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3e-06/0.6219, allocations: 0.5625 kB / 0.6886 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-06/0.6219, allocations: 1.156 kB / 0.6886 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.6225, allocations: 264.1 kB / 0.6889 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.6226, allocations: 86.11 kB / 0.689 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.6226, allocations: 4.312 kB / 0.689 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.6228, allocations: 28.97 kB / 0.689 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.623, allocations: 43.5 kB / 0.689 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.623, allocations: 12.86 kB / 0.689 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.6231, allocations: 100.2 kB / 0.6891 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.03e-07/0.6231, allocations: 0 / 0.6891 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003004/0.6234, allocations: 25.44 kB / 0.6892 GB, free: 12.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.000108/0.6235, allocations: 102.5 kB / 0.6893 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.6242, allocations: 281.8 kB / 0.6895 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.723e-06/0.6242, allocations: 0 / 0.6895 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.6245, allocations: 146.5 kB / 0.6897 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.6247, allocations: 16.03 kB / 0.6897 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.6254, allocations: 232.2 kB / 0.6899 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.6255, allocations: 0.6964 MB / 0.6906 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.204e-05/0.6256, allocations: 8.281 kB / 0.6906 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.6256, allocations: 10.38 kB / 0.6906 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/0.6257, allocations: 1.375 kB / 0.6906 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.005269/0.6309, allocations: 1.543 MB / 0.6921 GB, free: 11.03 MB / 0.5261 GB