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.009307/0.009307, allocations: 112.2 kB / 15.06 MB, free: 5.582 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.001299/0.001299, allocations: 181.2 kB / 15.94 MB, free: 5.551 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.868/1.868, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.244/2.244, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004961, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5795, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.7608, allocations: 125.4 MB / 0.8058 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.7611, allocations: 71.95 kB / 0.8059 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006261/0.7674, allocations: 1.486 MB / 0.8073 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.721e-06/0.7674, allocations: 3.984 kB / 0.8074 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.7674, allocations: 0 / 0.8074 GB, free: 15.29 MB / 0.6355 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.0006601/0.7681, allocations: 446.5 kB / 0.8078 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7682, allocations: 11.97 kB / 0.8078 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.7682, allocations: 11.95 kB / 0.8078 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.7685, allocations: 187 kB / 0.808 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.7685, allocations: 4 kB / 0.808 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.7686, allocations: 8 kB / 0.808 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.769, allocations: 121.6 kB / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.423e-06/0.769, allocations: 0 / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.769, allocations: 8 kB / 0.8081 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-06/0.769, allocations: 0 / 0.8081 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.7694, allocations: 103.9 kB / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.7701, allocations: 344.6 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.7706, allocations: 118.5 kB / 0.8087 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.7707, allocations: 7.969 kB / 0.8087 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.7711, allocations: 127.5 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.71e-06/0.7711, allocations: 4 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0009561/0.7721, allocations: 299.1 kB / 0.8091 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.727e-05/0.7722, allocations: 89.09 kB / 0.8092 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.7723, allocations: 113.7 kB / 0.8093 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.7723, allocations: 29.7 kB / 0.8093 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.7724, allocations: 104.1 kB / 0.8094 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.7725, allocations: 15.81 kB / 0.8094 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.7725, allocations: 0 / 0.8094 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.7727, allocations: 322.8 kB / 0.8097 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.7729, allocations: 71.95 kB / 0.8098 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.7732, allocations: 75.89 kB / 0.8099 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.7735, allocations: 119.4 kB / 0.81 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-06/0.7735, allocations: 3.938 kB / 0.81 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007223/0.7742, allocations: 268.9 kB / 0.8102 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.7743, allocations: 67.39 kB / 0.8103 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.7744, allocations: 0 / 0.8103 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7744, allocations: 0 / 0.8103 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.7745, allocations: 19.98 kB / 0.8103 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.7746, allocations: 3.953 kB / 0.8103 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.7748, allocations: 35.81 kB / 0.8104 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.7748, allocations: 8 kB / 0.8104 GB, free: 11.93 MB / 0.6355 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.0001687/0.775, allocations: 155.5 kB / 0.8105 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.775, allocations: 4 kB / 0.8105 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.7751, allocations: 12.38 kB / 0.8105 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-06/0.7751, allocations: 0 / 0.8105 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7751, allocations: 0 / 0.8105 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-06/0.7751, allocations: 3.953 kB / 0.8105 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.7754, allocations: 193.5 kB / 0.8107 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.461e-06/0.7754, allocations: 256 / 0.8107 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.7755, allocations: 15.98 kB / 0.8107 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-06/0.7755, allocations: 8 kB / 0.8107 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.7755, allocations: 8 kB / 0.8107 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.7756, allocations: 3.984 kB / 0.8107 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-06/0.7756, allocations: 0 / 0.8107 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.7763, allocations: 262.6 kB / 0.811 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.7763, allocations: 81.02 kB / 0.8111 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.7764, allocations: 4 kB / 0.8111 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.7766, allocations: 27.97 kB / 0.8111 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.7768, allocations: 43.95 kB / 0.8111 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.7768, allocations: 4.016 kB / 0.8112 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.344e-05/0.7769, allocations: 105.3 kB / 0.8113 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.85e-07/0.7769, allocations: 0 / 0.8113 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000311/0.7772, allocations: 24 kB / 0.8113 GB, free: 10.88 MB / 0.6355 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.0001529/0.7774, allocations: 111.2 kB / 0.8114 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006809/0.7781, allocations: 286.6 kB / 0.8117 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/0.7781, allocations: 0 / 0.8117 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.7785, allocations: 143.4 kB / 0.8118 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.7787, allocations: 15.94 kB / 0.8118 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.7793, allocations: 233.1 kB / 0.812 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.7797, allocations: 0.6965 MB / 0.8127 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.827e-05/0.7798, allocations: 12.17 kB / 0.8127 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.7799, allocations: 7.438 kB / 0.8127 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of SimCode: time 1.853e-06/0.7799, allocations: 0 / 0.8127 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.005023/0.7849, allocations: 1.532 MB / 0.8142 GB, free: 7.77 MB / 0.6355 GB