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.03415/0.03415, allocations: 222.1 kB / 15.17 MB, free: 5.926 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.001119/0.001118, allocations: 181.8 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.644/3.644, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.215/4.215, allocations: 472.3 MB / 0.9018 GB, free: 13.42 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005018, allocations: 12 kB / 1.008 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.5238, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001299/0.5251, allocations: 1.178 MB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.5258, allocations: 465.3 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.5259, allocations: 4.5 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 6.642e-05/0.526, allocations: 6.656 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.526, allocations: 6.406 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.5262, allocations: 31.89 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.5263, allocations: 79.75 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.5264, allocations: 12.69 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.5266, allocations: 38.53 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.5266, allocations: 39.83 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.5267, allocations: 4 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.5267, allocations: 4 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.5268, allocations: 15.97 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.5268, allocations: 41.64 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 8.373e-05/0.5269, allocations: 39.91 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.211e-06/0.5269, allocations: 2.594 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.855e-06/0.5269, allocations: 0 / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.725e-06/0.5269, allocations: 0 / 1.106 GB, free: 181.9 MB / 0.6823 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.0005564/0.5275, allocations: 444.4 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5276, allocations: 9.125 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.5276, allocations: 19.25 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.5278, allocations: 187 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.5278, allocations: 4.5 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.5278, allocations: 7.375 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.5282, allocations: 127.1 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.803e-06/0.5282, allocations: 0 / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.5282, allocations: 4 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-06/0.5282, allocations: 0 / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.5286, allocations: 102.8 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.5291, allocations: 348.1 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.5295, allocations: 118 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.5298, allocations: 85.19 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5298, allocations: 0 / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.5301, allocations: 132.2 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 3.355e-06/0.5302, allocations: 2.906 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0008282/0.531, allocations: 306.7 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.5311, allocations: 89.09 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.5312, allocations: 123.7 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5312, allocations: 33.7 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.5313, allocations: 94.69 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.5313, allocations: 15.81 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.5313, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.5314, allocations: 326.4 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.5316, allocations: 71.95 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.5319, allocations: 70.83 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5321, allocations: 115.4 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.048e-06/0.5321, allocations: 0 / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005808/0.5327, allocations: 284.5 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.5327, allocations: 63.41 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5328, allocations: 0 / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5328, allocations: 3.953 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.5329, allocations: 20.78 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.802e-06/0.533, allocations: 0 / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.5331, allocations: 39.02 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.5332, allocations: 4 kB / 1.109 GB, free: 178.5 MB / 0.6823 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.0001095/0.5333, allocations: 159.5 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.5333, allocations: 4 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.5334, allocations: 16.11 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5334, allocations: 7.938 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.803e-06/0.5334, allocations: 1.438 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-06/0.5334, allocations: 0 / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5336, allocations: 193.5 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5336, allocations: 0 / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5337, allocations: 18.73 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.429e-06/0.5337, allocations: 2.062 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.5337, allocations: 4 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.118e-06/0.5337, allocations: 1.641 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.118e-06/0.5338, allocations: 3.953 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.5343, allocations: 261.6 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.5344, allocations: 81.95 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.5344, allocations: 8 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5346, allocations: 31.91 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.5347, allocations: 35.95 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.5348, allocations: 11.48 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.5349, allocations: 101.5 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.55e-07/0.5349, allocations: 0 / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002792/0.5352, allocations: 28 kB / 1.11 GB, free: 177.5 MB / 0.6823 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 9.74e-05/0.5353, allocations: 105.8 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005588/0.5358, allocations: 278.7 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.5359, allocations: 7.312 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.5361, allocations: 143.3 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.5364, allocations: 12 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.537, allocations: 235.5 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.5371, allocations: 0.6956 MB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.723e-05/0.5372, allocations: 12.91 kB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.5372, allocations: 15.44 kB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.37e-06/0.5373, allocations: 0 / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.004495/0.5418, allocations: 1.53 MB / 1.113 GB, free: 174.5 MB / 0.6823 GB