Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.54/1.54, allocations: 291.7 MB / 306.8 MB, free: 7.723 MB / 234.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.0008928/0.0008928, allocations: 181.5 kB / 375.4 MB, free: 5.129 MB / 298.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.251/1.251, allocations: 225.7 MB / 0.6538 GB, free: 13.6 MB / 490.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.0007982/0.0007985, allocations: 102.2 kB / 0.7699 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 8 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5345, allocations: 118.1 MB / 1.011 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001427/0.536, allocations: 1.202 MB / 1.012 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005984/0.5366, allocations: 422.8 kB / 1.012 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.5366, allocations: 5.281 kB / 1.012 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.66e-05/0.5367, allocations: 1.453 kB / 1.012 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.5368, allocations: 13.03 kB / 1.012 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.537, allocations: 32.03 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.5371, allocations: 82 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.5372, allocations: 14.89 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.932e-05/0.5373, allocations: 38.94 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.5373, allocations: 34.3 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.5374, allocations: 5.531 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.5374, allocations: 3.656 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.5374, allocations: 16.52 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.5375, allocations: 43.98 kB / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.5376, allocations: 49.67 kB / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.5376, allocations: 5.25 kB / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5376, allocations: 0 / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.5376, allocations: 0 / 1.013 GB, free: 57.12 MB / 0.7136 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.0005237/0.5381, allocations: 438.7 kB / 1.013 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5382, allocations: 13.38 kB / 1.013 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.5382, allocations: 12.47 kB / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.5384, allocations: 186.7 kB / 1.013 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5384, allocations: 10.62 kB / 1.013 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.5384, allocations: 9.375 kB / 1.013 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.5387, allocations: 119.1 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5387, allocations: 0 / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.5387, allocations: 11.5 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5387, allocations: 0 / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.539, allocations: 104.3 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.5395, allocations: 338.1 kB / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.5398, allocations: 123 kB / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.5399, allocations: 80.83 kB / 1.014 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.54, allocations: 3.875 kB / 1.014 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.5402, allocations: 137.3 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.5403, allocations: 0.625 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0006051/0.5409, allocations: 294.3 kB / 1.015 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.5409, allocations: 90.03 kB / 1.015 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.541, allocations: 129.4 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.541, allocations: 28.48 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.5411, allocations: 93.89 kB / 1.015 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.5411, allocations: 17.38 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.5411, allocations: 10.47 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.5411, allocations: 326.1 kB / 1.015 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.5413, allocations: 69.89 kB / 1.015 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.5415, allocations: 72.44 kB / 1.015 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.5418, allocations: 200.4 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5418, allocations: 1.5 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004175/0.5422, allocations: 276.8 kB / 1.016 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.5423, allocations: 67.66 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5423, allocations: 0 / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5423, allocations: 1.906 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5424, allocations: 16.77 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5424, allocations: 1.875 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.5426, allocations: 37.72 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.5426, allocations: 7.031 kB / 1.016 GB, free: 55.12 MB / 0.7136 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 8.26e-05/0.5427, allocations: 158.8 kB / 1.016 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.5427, allocations: 5.938 kB / 1.016 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.5427, allocations: 13.89 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5428, allocations: 3.031 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5428, allocations: 1.125 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.5428, allocations: 3.938 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.379e-05/0.5429, allocations: 198 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5429, allocations: 3.5 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.543, allocations: 14.25 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.543, allocations: 1.594 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.543, allocations: 5.531 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.543, allocations: 3.906 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.543, allocations: 0 / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.5434, allocations: 260.3 kB / 1.017 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.5434, allocations: 87.86 kB / 1.017 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.5435, allocations: 6.656 kB / 1.017 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5436, allocations: 28.05 kB / 1.017 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.5437, allocations: 40.3 kB / 1.017 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5437, allocations: 1.438 kB / 1.017 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.5438, allocations: 97.7 kB / 1.017 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.92e-07/0.5438, allocations: 2.562 kB / 1.017 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001782/0.544, allocations: 33.69 kB / 1.017 GB, free: 54.48 MB / 0.7136 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 8.138e-05/0.5441, allocations: 112.4 kB / 1.017 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.5445, allocations: 273.8 kB / 1.017 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5445, allocations: 0 / 1.017 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.5447, allocations: 151.4 kB / 1.017 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.5449, allocations: 16.92 kB / 1.017 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.5453, allocations: 241.4 kB / 1.018 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.5454, allocations: 0.6907 MB / 1.018 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.5455, allocations: 8.516 kB / 1.018 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.5455, allocations: 11.69 kB / 1.018 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.5455, allocations: 4 kB / 1.018 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.003306/0.5488, allocations: 1.531 MB / 1.02 GB, free: 53.27 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)