Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.756/1.756, allocations: 255.9 MB / 271.2 MB, free: 8.91 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 185.7 kB / 330.8 MB, free: 476 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 225.7 MB / 0.6016 GB, free: 1.629 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008694, allocations: 103.5 kB / 0.709 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003419, allocations: 11.59 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 109.2 MB / 0.9327 GB, free: 6.277 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001995/0.219, allocations: 1.193 MB / 0.9339 GB, free: 5.074 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.22, allocations: 0.5835 MB / 0.9345 GB, free: 4.449 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.22, allocations: 0 / 0.9345 GB, free: 4.449 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2201, allocations: 7.938 kB / 0.9345 GB, free: 4.441 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.2202, allocations: 11.86 kB / 0.9345 GB, free: 4.43 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.2204, allocations: 27.97 kB / 0.9345 GB, free: 4.402 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2205, allocations: 95.75 kB / 0.9346 GB, free: 4.309 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2207, allocations: 16.17 kB / 0.9346 GB, free: 4.293 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2208, allocations: 39.84 kB / 0.9347 GB, free: 4.254 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.2209, allocations: 39.83 kB / 0.9347 GB, free: 4.215 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.2209, allocations: 4 kB / 0.9347 GB, free: 4.211 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.221, allocations: 4 kB / 0.9347 GB, free: 4.207 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.221, allocations: 11.92 kB / 0.9347 GB, free: 4.195 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.2211, allocations: 65.55 kB / 0.9348 GB, free: 4.125 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.2212, allocations: 71.75 kB / 0.9349 GB, free: 4.055 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2212, allocations: 0 / 0.9349 GB, free: 4.055 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2212, allocations: 0 / 0.9349 GB, free: 4.055 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2213, allocations: 4 kB / 0.9349 GB, free: 4.051 MB / 0.573 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.0006234/0.2219, allocations: 438.9 kB / 0.9353 GB, free: 3.562 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2219, allocations: 15.98 kB / 0.9353 GB, free: 3.547 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.222, allocations: 12.84 kB / 0.9353 GB, free: 3.535 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.2222, allocations: 200.1 kB / 0.9355 GB, free: 3.301 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2222, allocations: 8.375 kB / 0.9355 GB, free: 3.293 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.2222, allocations: 8.312 kB / 0.9355 GB, free: 3.285 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.2225, allocations: 125.7 kB / 0.9356 GB, free: 3.156 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2226, allocations: 4 kB / 0.9356 GB, free: 3.152 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2226, allocations: 4 kB / 0.9356 GB, free: 3.148 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2226, allocations: 0 / 0.9356 GB, free: 3.148 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.2229, allocations: 99.92 kB / 0.9357 GB, free: 3.051 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.2234, allocations: 340.7 kB / 0.9361 GB, free: 2.668 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.2237, allocations: 118.5 kB / 0.9362 GB, free: 2.543 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2239, allocations: 84.94 kB / 0.9363 GB, free: 2.457 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2239, allocations: 4 kB / 0.9363 GB, free: 2.453 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.2242, allocations: 131.3 kB / 0.9364 GB, free: 2.312 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.2242, allocations: 3.984 kB / 0.9364 GB, free: 2.309 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0006331/0.2249, allocations: 299.1 kB / 0.9367 GB, free: 2.004 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2249, allocations: 81.11 kB / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.225, allocations: 137.7 kB / 0.9369 GB, free: 1.762 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.225, allocations: 29.7 kB / 0.9369 GB, free: 1.727 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.2251, allocations: 96.12 kB / 0.937 GB, free: 1.629 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.2251, allocations: 19.75 kB / 0.937 GB, free: 1.609 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/0.2251, allocations: 0 / 0.937 GB, free: 1.609 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.2252, allocations: 326.8 kB / 0.9373 GB, free: 1.281 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2254, allocations: 75.95 kB / 0.9374 GB, free: 1.207 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.2255, allocations: 67.95 kB / 0.9375 GB, free: 1.141 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.2258, allocations: 205.8 kB / 0.9377 GB, free: 0.918 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2259, allocations: 0 / 0.9377 GB, free: 0.918 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000432/0.2263, allocations: 272.9 kB / 0.9379 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.2263, allocations: 71.3 kB / 0.938 GB, free: 0.5508 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2264, allocations: 4 kB / 0.938 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2264, allocations: 0 / 0.938 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2265, allocations: 19.92 kB / 0.938 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2265, allocations: 0 / 0.938 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.2267, allocations: 31.97 kB / 0.938 GB, free: 0.4961 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2267, allocations: 8 kB / 0.9381 GB, free: 500 kB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.48e-05/0.2268, allocations: 152.7 kB / 0.9382 GB, free: 332 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.2268, allocations: 11.91 kB / 0.9382 GB, free: 320 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.2269, allocations: 16.36 kB / 0.9382 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2269, allocations: 0 / 0.9382 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2269, allocations: 3.938 kB / 0.9382 GB, free: 300 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2269, allocations: 4 kB / 0.9382 GB, free: 296 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.227, allocations: 193.6 kB / 0.9384 GB, free: 52 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.227, allocations: 0 / 0.9384 GB, free: 52 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.2271, allocations: 15.98 kB / 0.9384 GB, free: 36 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2271, allocations: 0 / 0.9384 GB, free: 36 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2271, allocations: 4 kB / 0.9384 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2272, allocations: 0 / 0.9384 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2272, allocations: 0 / 0.9384 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.2277, allocations: 266.8 kB / 0.9387 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.2278, allocations: 84.95 kB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.2278, allocations: 20.05 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2279, allocations: 23.98 kB / 0.9388 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.2281, allocations: 35.86 kB / 0.9388 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.2281, allocations: 4 kB / 0.9389 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.608e-05/0.2282, allocations: 99.83 kB / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2282, allocations: 0 / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001956/0.2284, allocations: 35.94 kB / 0.939 GB, free: 15.43 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.2285, allocations: 107.2 kB / 0.9391 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.2291, allocations: 282.6 kB / 0.9394 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2291, allocations: 0 / 0.9394 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.2293, allocations: 143.4 kB / 0.9395 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2296, allocations: 15.98 kB / 0.9395 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.2301, allocations: 241.2 kB / 0.9397 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2304, allocations: 0.6965 MB / 0.9404 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.498e-05/0.2304, allocations: 8 kB / 0.9404 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.2305, allocations: 19.3 kB / 0.9404 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of SimCode: time 3.3e-07/0.2305, allocations: 0 / 0.9404 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of Templates: time 0.004064/0.2345, allocations: 1.584 MB / 0.942 GB, free: 12.26 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)