Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0007013/0.0007013, allocations: 80.8 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.0008529/0.0008529, 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.9742/0.9742, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.947/1.947, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.15e-05, allocations: 3.156 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.003227/0.003259, allocations: 0.7783 MB / 0.7759 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.00525, allocations: 1.248 MB / 0.7772 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.005317, allocations: 4.75 kB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.005352, allocations: 7.922 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.005435, allocations: 4.375 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.006048, allocations: 150.5 kB / 0.7773 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.00627, allocations: 113 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.006361, allocations: 11.98 kB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.006525, allocations: 67.88 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.006658, allocations: 36.47 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.006691, allocations: 13.72 kB / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.006797, allocations: 31.92 kB / 0.7776 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.006824, allocations: 11.92 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.006879, allocations: 31.97 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.007084, allocations: 103.7 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007087, allocations: 0.8125 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.913e-06/0.007089, allocations: 0 / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.007093, allocations: 0.5 kB / 0.7777 GB, free: 2.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004637/0.007557, allocations: 303.2 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.007595, allocations: 9.344 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.007711, allocations: 19.2 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.007814, allocations: 109.7 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.007837, allocations: 12.36 kB / 0.7782 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.007858, allocations: 8.375 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.007974, allocations: 62.94 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.465e-06/0.007982, allocations: 192 / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.007989, allocations: 3.125 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.007994, allocations: 384 / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.008027, allocations: 15.92 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.008456, allocations: 180.2 kB / 0.7784 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.008529, allocations: 30.56 kB / 0.7785 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.008551, allocations: 8.859 kB / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.008572, allocations: 2.719 kB / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.008688, allocations: 75.52 kB / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.008689, allocations: 0 / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001513/0.00884, allocations: 69.55 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.008885, allocations: 59.38 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.008978, allocations: 126.6 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.009004, allocations: 25.7 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.009056, allocations: 89.84 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.00908, allocations: 19.89 kB / 0.7789 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.009159, allocations: 37.67 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.00928, allocations: 318.8 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.009358, allocations: 46.91 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.009447, allocations: 85.05 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.009567, allocations: 93.73 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.00957, allocations: 3.938 kB / 0.7795 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002175/0.009787, allocations: 166.1 kB / 0.7796 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.009829, allocations: 34.17 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.009835, allocations: 4 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.009849, allocations: 0.5312 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.009923, allocations: 12.77 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.009928, allocations: 4 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01004, allocations: 28.56 kB / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.01006, allocations: 12.83 kB / 0.7797 GB, free: 0.5938 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.493e-05/0.01016, allocations: 119.2 kB / 0.7798 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.01017, allocations: 4 kB / 0.7798 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.01028, allocations: 62.05 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01029, allocations: 7.984 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01029, allocations: 0.6562 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0103, allocations: 0 / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.01049, allocations: 208.5 kB / 0.7801 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01049, allocations: 0 / 0.7801 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.01053, allocations: 7.984 kB / 0.7801 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01054, allocations: 3.938 kB / 0.7801 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01055, allocations: 8.875 kB / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01055, allocations: 0 / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01055, allocations: 1.125 kB / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.01071, allocations: 147.5 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.01072, allocations: 4 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01074, allocations: 8.812 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.01081, allocations: 11.98 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.01084, allocations: 4 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01085, allocations: 4.516 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.01087, allocations: 18.44 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01087, allocations: 0 / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002745/0.01114, allocations: 23.95 kB / 0.7803 GB, free: 15.91 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001551/0.0113, allocations: 85.91 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01151, allocations: 145.9 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01151, allocations: 0 / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.992e-05/0.01156, allocations: 34.08 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.01177, allocations: 15.98 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.01233, allocations: 170.8 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.01237, allocations: 59.34 kB / 0.7808 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.01241, allocations: 5.031 kB / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.01252, allocations: 72.67 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.01252, allocations: 0 / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.004861/0.01738, allocations: 1.6 MB / 0.7825 GB, free: 13.76 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.083495706319809]