Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, allocations: 254.9 MB / 269.9 MB, free: 9.621 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.001985/0.001985, allocations: 189.6 kB / 329.5 MB, free: 1.133 MB / 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 2.463/2.463, allocations: 225.6 MB / 0.6001 GB, free: 2.223 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.0009704/0.0009701, allocations: 91.75 kB / 0.7074 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005293, allocations: 10.28 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2276, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001746/0.2294, allocations: 1.185 MB / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.2302, allocations: 435.2 kB / 0.9323 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.2303, allocations: 3.938 kB / 0.9323 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.2304, allocations: 3.984 kB / 0.9323 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.2305, allocations: 19.86 kB / 0.9324 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.2307, allocations: 23.97 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.2308, allocations: 83.75 kB / 0.9325 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2309, allocations: 12.17 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2311, allocations: 47.83 kB / 0.9325 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.2312, allocations: 35.89 kB / 0.9325 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.2312, allocations: 8 kB / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.2313, allocations: 4 kB / 0.9326 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.2313, allocations: 11.92 kB / 0.9326 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.2314, allocations: 41.64 kB / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.784e-05/0.2315, allocations: 51.83 kB / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2315, allocations: 0 / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2315, allocations: 0 / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2315, allocations: 0 / 0.9327 GB, free: 23.14 MB / 0.5886 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.0007231/0.2322, allocations: 446.9 kB / 0.9331 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2323, allocations: 8.031 kB / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.2324, allocations: 12.84 kB / 0.9331 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2326, allocations: 184.3 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2326, allocations: 8.375 kB / 0.9333 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2326, allocations: 4.375 kB / 0.9333 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.2331, allocations: 125.7 kB / 0.9334 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2331, allocations: 0 / 0.9334 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2331, allocations: 8 kB / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2331, allocations: 0 / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.2336, allocations: 111.9 kB / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.2343, allocations: 336.7 kB / 0.9338 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.2348, allocations: 122.5 kB / 0.934 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.2351, allocations: 84.92 kB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.2352, allocations: 0 / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.2356, allocations: 135.2 kB / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.2356, allocations: 4 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.00109/0.2367, allocations: 303.2 kB / 0.9345 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2368, allocations: 81.11 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2369, allocations: 129.8 kB / 0.9347 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.237, allocations: 29.7 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.237, allocations: 96.12 kB / 0.9348 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.2371, allocations: 19.75 kB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.2371, allocations: 3.938 kB / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.2372, allocations: 326.8 kB / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.2375, allocations: 75.95 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.2378, allocations: 67.95 kB / 0.9353 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.2381, allocations: 119.4 kB / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2381, allocations: 96 / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007593/0.2389, allocations: 280.8 kB / 0.9356 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.2389, allocations: 63.41 kB / 0.9357 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2389, allocations: 0 / 0.9357 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.239, allocations: 0 / 0.9357 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2392, allocations: 15.98 kB / 0.9357 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2392, allocations: 0 / 0.9357 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.2394, allocations: 35.88 kB / 0.9358 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.2395, allocations: 8 kB / 0.9358 GB, free: 19.68 MB / 0.5886 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.0001247/0.2396, allocations: 156.6 kB / 0.9359 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.2397, allocations: 4 kB / 0.9359 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.2397, allocations: 12.38 kB / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2397, allocations: 0 / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2397, allocations: 0 / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2397, allocations: 0 / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2399, allocations: 209.5 kB / 0.9361 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2399, allocations: 0 / 0.9361 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2401, allocations: 19.92 kB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2401, allocations: 0 / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.2401, allocations: 7.984 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2401, allocations: 0 / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2401, allocations: 0 / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.2409, allocations: 262.9 kB / 0.9364 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.2409, allocations: 92.89 kB / 0.9365 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.241, allocations: 0 / 0.9365 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.2412, allocations: 35.97 kB / 0.9365 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.2414, allocations: 35.95 kB / 0.9366 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2414, allocations: 4 kB / 0.9366 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.2415, allocations: 95.27 kB / 0.9367 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2415, allocations: 4 kB / 0.9367 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002639/0.2418, allocations: 23.94 kB / 0.9367 GB, free: 18.63 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 (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.0001117/0.2419, allocations: 119.2 kB / 0.9368 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.2426, allocations: 278.8 kB / 0.9371 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2427, allocations: 4 kB / 0.9371 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.243, allocations: 143.4 kB / 0.9372 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2433, allocations: 15.98 kB / 0.9372 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.244, allocations: 249 kB / 0.9375 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.2441, allocations: 0.6887 MB / 0.9381 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.632e-05/0.2442, allocations: 11.75 kB / 0.9381 GB, free: 17.03 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.2443, allocations: 11.44 kB / 0.9381 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of SimCode: time 7.92e-07/0.2443, allocations: 0 / 0.9381 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.004937/0.2492, allocations: 1.523 MB / 0.9396 GB, free: 15.5 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)