Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9472/0.9472, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.87/1.87, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.984 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.388e-05, allocations: 5.547 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001794/0.001808, allocations: 1.579 MB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006624/0.00247, allocations: 0.5153 MB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.002522, allocations: 0 / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.1e-05/0.002613, allocations: 7.875 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.002668, allocations: 25.09 kB / 0.7772 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.002884, allocations: 43.89 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.003025, allocations: 106.6 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.75e-05/0.003093, allocations: 8.172 kB / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.003241, allocations: 75.8 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.003302, allocations: 31.89 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.003321, allocations: 8 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.003368, allocations: 16 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.0034, allocations: 15.92 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.003443, allocations: 35.91 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.003554, allocations: 78.88 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003556, allocations: 0 / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003557, allocations: 0 / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.00356, allocations: 0 / 0.7776 GB, free: 2.902 MB / 0.7292 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.000379/0.003939, allocations: 355.9 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.003969, allocations: 9.344 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.004065, allocations: 24.92 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004187, allocations: 130.2 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.004199, allocations: 4.906 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.004211, allocations: 11.84 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.004354, allocations: 124.6 kB / 0.7783 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.00436, allocations: 4.188 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.004372, allocations: 8.109 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004376, allocations: 0 / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.004426, allocations: 61.61 kB / 0.7783 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.00467, allocations: 187.1 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.004756, allocations: 76.25 kB / 0.7786 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.004797, allocations: 61.95 kB / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.004808, allocations: 0 / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.004927, allocations: 120.9 kB / 0.7788 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.004928, allocations: 0 / 0.7788 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001775/0.005105, allocations: 194.7 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.005141, allocations: 81.11 kB / 0.779 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.00521, allocations: 134.7 kB / 0.7792 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.005226, allocations: 33.7 kB / 0.7792 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.005265, allocations: 88.62 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.00528, allocations: 28.34 kB / 0.7793 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.005319, allocations: 26.41 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.005392, allocations: 318.8 kB / 0.7796 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.005443, allocations: 84.2 kB / 0.7797 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.005492, allocations: 95.3 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.005571, allocations: 132.8 kB / 0.7799 GB, free: 308 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005572, allocations: 0.5 kB / 0.7799 GB, free: 308 kB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.005708, allocations: 214.1 kB / 0.7801 GB, free: 64 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.005753, allocations: 67.39 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005757, allocations: 0 / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.005766, allocations: 0 / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.005833, allocations: 16.92 kB / 0.7802 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.005836, allocations: 0 / 0.7802 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.005894, allocations: 20.89 kB / 0.7802 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.005903, allocations: 4 kB / 0.7802 GB, free: 15.95 MB / 0.7448 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 0.0003715/0.006275, allocations: 156.1 kB / 0.7804 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.006298, allocations: 11.94 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.006325, allocations: 12.77 kB / 0.7804 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006327, allocations: 4 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.006329, allocations: 1.594 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006332, allocations: 0 / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.483e-05/0.006397, allocations: 77.88 kB / 0.7805 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006398, allocations: 0 / 0.7805 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.006432, allocations: 16.73 kB / 0.7805 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006434, allocations: 0 / 0.7805 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.006442, allocations: 4.875 kB / 0.7805 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.006444, allocations: 7.938 kB / 0.7805 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006445, allocations: 0.5625 kB / 0.7805 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.006568, allocations: 168.5 kB / 0.7807 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.006578, allocations: 8.734 kB / 0.7807 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.006594, allocations: 8 kB / 0.7807 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.006644, allocations: 25 kB / 0.7807 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.006715, allocations: 27.97 kB / 0.7807 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.006723, allocations: 5.469 kB / 0.7807 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.998e-05/0.006743, allocations: 27.59 kB / 0.7808 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006743, allocations: 0 / 0.7808 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001058/0.006849, allocations: 27.95 kB / 0.7808 GB, free: 15.31 MB / 0.7448 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 5.964e-05/0.006908, allocations: 89.31 kB / 0.7809 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.007093, allocations: 273.8 kB / 0.7811 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.007096, allocations: 0 / 0.7811 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.00718, allocations: 137.8 kB / 0.7813 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.64e-05/0.007277, allocations: 13.25 kB / 0.7813 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.007716, allocations: 247.3 kB / 0.7815 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.007752, allocations: 59.34 kB / 0.7816 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.007782, allocations: 10.17 kB / 0.7816 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.007872, allocations: 83.36 kB / 0.7817 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.007872, allocations: 0.9062 kB / 0.7817 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.003172/0.01104, allocations: 2.093 MB / 0.7837 GB, free: 12.3 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.819847594946623]