Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0009739/0.0009739, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001093/0.001093, allocations: 164.6 kB / 24.97 MB, free: 8.648 MB / 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 1.001/1.001, allocations: 177.1 MB / 205.4 MB, free: 5.504 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.964/1.964, allocations: 389.6 MB / 0.6362 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.765e-05, allocations: 2.312 kB / 0.776 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002097/0.002125, allocations: 0.8129 MB / 0.7767 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.004018, allocations: 1.213 MB / 0.7779 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.004078, allocations: 4 kB / 0.7779 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.004112, allocations: 7.562 kB / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/0.004201, allocations: 12.19 kB / 0.778 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.004707, allocations: 135.6 kB / 0.7781 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.004926, allocations: 128.6 kB / 0.7782 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.005048, allocations: 24.17 kB / 0.7782 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.005201, allocations: 75.17 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.005305, allocations: 39.88 kB / 0.7783 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.005335, allocations: 12 kB / 0.7783 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.836e-05/0.005434, allocations: 35.86 kB / 0.7784 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.005458, allocations: 11.98 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.005514, allocations: 39.89 kB / 0.7784 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.005697, allocations: 99.75 kB / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.0057, allocations: 0 / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005701, allocations: 0 / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005706, allocations: 0.7188 kB / 0.7785 GB, free: 2.789 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004665/0.006172, allocations: 318.4 kB / 0.7788 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.006222, allocations: 10.03 kB / 0.7788 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.006342, allocations: 21.33 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.006445, allocations: 113.8 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.006462, allocations: 5 kB / 0.779 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.006481, allocations: 12.38 kB / 0.779 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.006614, allocations: 71.64 kB / 0.7791 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006623, allocations: 0.6875 kB / 0.7791 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.006631, allocations: 4.312 kB / 0.7791 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.00664, allocations: 9.156 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/0.006673, allocations: 19.92 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.007023, allocations: 189.1 kB / 0.7793 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.007102, allocations: 35.8 kB / 0.7793 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.007125, allocations: 12.84 kB / 0.7793 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.007147, allocations: 4 kB / 0.7793 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.007269, allocations: 71.95 kB / 0.7794 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.007271, allocations: 5.156 kB / 0.7794 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000154/0.007425, allocations: 69.61 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.007456, allocations: 51.41 kB / 0.7795 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.007538, allocations: 128 kB / 0.7796 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.007561, allocations: 29.7 kB / 0.7797 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.007607, allocations: 92.08 kB / 0.7797 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.007633, allocations: 28.53 kB / 0.7798 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.007699, allocations: 33.69 kB / 0.7798 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.0078, allocations: 324.4 kB / 0.7801 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.007868, allocations: 53.69 kB / 0.7802 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.007949, allocations: 86.83 kB / 0.7802 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.008067, allocations: 120.6 kB / 0.7804 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.00807, allocations: 0 / 0.7804 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002104/0.00828, allocations: 174.5 kB / 0.7805 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.008317, allocations: 37.64 kB / 0.7806 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.008324, allocations: 5.344 kB / 0.7806 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.008338, allocations: 0 / 0.7806 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.008432, allocations: 15.98 kB / 0.7806 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.008437, allocations: 4 kB / 0.7806 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.008548, allocations: 25.77 kB / 0.7806 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.008567, allocations: 15.86 kB / 0.7806 GB, free: 428 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.1e-05/0.008648, allocations: 118.9 kB / 0.7807 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.008666, allocations: 15.95 kB / 0.7808 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.008772, allocations: 62.11 kB / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008775, allocations: 0.5 kB / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008777, allocations: 1.781 kB / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.008788, allocations: 3.953 kB / 0.7808 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.0088, allocations: 7.938 kB / 0.7808 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.008835, allocations: 3.984 kB / 0.7808 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.008868, allocations: 11.98 kB / 0.7808 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001005/0.008969, allocations: 130 kB / 0.781 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001604/0.009129, allocations: 243.2 kB / 0.7812 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.906e-05/0.009168, allocations: 22.09 kB / 0.7812 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.483e-05/0.009193, allocations: 16.84 kB / 0.7812 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of Backend: time 3.21e-07/0.009193, allocations: 0 / 0.7812 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.009608, allocations: 215.3 kB / 0.7814 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0007355/0.01034, allocations: 0.6757 MB / 0.7821 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.00468/0.01502, allocations: 1.847 MB / 0.7839 GB, free: 13.06 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.088333114050329]