Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.00127/0.00127, 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.00147/0.00147, allocations: 166.5 kB / 24.96 MB, free: 8.23 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 0.97/0.97, allocations: 177.1 MB / 205.4 MB, free: 5.465 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.944/1.944, 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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.9844 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.663e-05, allocations: 3.688 kB / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001336/0.001353, allocations: 0.8003 MB / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002416, allocations: 1.122 MB / 0.7779 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.002457, allocations: 0 / 0.7779 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.002487, allocations: 7.781 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.002564, allocations: 15.75 kB / 0.7779 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.002816, allocations: 57.17 kB / 0.7779 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.002912, allocations: 67.67 kB / 0.778 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.002993, allocations: 28.73 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.003068, allocations: 39.91 kB / 0.7781 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.003111, allocations: 27.89 kB / 0.7781 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.003124, allocations: 11.25 kB / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.003183, allocations: 12 kB / 0.7781 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.003201, allocations: 15.98 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.003225, allocations: 23.91 kB / 0.7781 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.837e-05/0.003324, allocations: 63.73 kB / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.003325, allocations: 0 / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003326, allocations: 0 / 0.7782 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.003329, allocations: 0 / 0.7782 GB, free: 3.098 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003048/0.003633, allocations: 272.7 kB / 0.7785 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.003675, allocations: 13.12 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.003703, allocations: 12.94 kB / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.732e-05/0.003791, allocations: 121.7 kB / 0.7786 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.003801, allocations: 4.375 kB / 0.7786 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.003813, allocations: 8.375 kB / 0.7786 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.00392, allocations: 66.88 kB / 0.7787 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.003929, allocations: 192 / 0.7787 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003937, allocations: 384 / 0.7787 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.003945, allocations: 4.125 kB / 0.7787 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.003965, allocations: 8 kB / 0.7787 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.004292, allocations: 204.4 kB / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.004359, allocations: 26.58 kB / 0.7789 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.004374, allocations: 12.86 kB / 0.7789 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.004392, allocations: 0 / 0.7789 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/0.004463, allocations: 63.44 kB / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004464, allocations: 0 / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001143/0.004579, allocations: 61.7 kB / 0.7791 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.004619, allocations: 55.41 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.004683, allocations: 125.4 kB / 0.7792 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.004696, allocations: 33.7 kB / 0.7793 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.004729, allocations: 84.09 kB / 0.7793 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.004744, allocations: 19.83 kB / 0.7794 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.00478, allocations: 33.69 kB / 0.7794 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.004849, allocations: 322.8 kB / 0.7797 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.004864, allocations: 4 kB / 0.7797 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.004898, allocations: 50.44 kB / 0.7797 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.004959, allocations: 76.53 kB / 0.7798 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004961, allocations: 0.5 kB / 0.7798 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.209e-05/0.005043, allocations: 83.8 kB / 0.7799 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005055, allocations: 11.94 kB / 0.7799 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005059, allocations: 0 / 0.7799 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.005075, allocations: 4.656 kB / 0.7799 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.005145, allocations: 15.98 kB / 0.7799 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.00515, allocations: 8.672 kB / 0.7799 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.005181, allocations: 13.67 kB / 0.78 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.00519, allocations: 7.938 kB / 0.78 GB, free: 1.125 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 5.677e-05/0.005247, allocations: 120.3 kB / 0.7801 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.005256, allocations: 11.92 kB / 0.7801 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.00528, allocations: 9.5 kB / 0.7801 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.005282, allocations: 0 / 0.7801 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.005285, allocations: 4 kB / 0.7801 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005289, allocations: 1.188 kB / 0.7801 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.005469, allocations: 214.7 kB / 0.7803 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.005471, allocations: 3.938 kB / 0.7803 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.005489, allocations: 4.5 kB / 0.7803 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.005492, allocations: 4.875 kB / 0.7803 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.005497, allocations: 4 kB / 0.7803 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.0055, allocations: 4.875 kB / 0.7803 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005501, allocations: 0 / 0.7803 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.349e-05/0.005574, allocations: 151.5 kB / 0.7805 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.005585, allocations: 16.45 kB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-06/0.005592, allocations: 1.656 kB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.005625, allocations: 7.984 kB / 0.7805 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.00565, allocations: 7.984 kB / 0.7805 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.005655, allocations: 4 kB / 0.7805 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.00567, allocations: 18.23 kB / 0.7805 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.00567, allocations: 0 / 0.7805 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001348/0.005805, allocations: 16 kB / 0.7805 GB, free: 0.4922 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0001036/0.005908, allocations: 85.25 kB / 0.7806 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.005997, allocations: 42.3 kB / 0.7807 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.005999, allocations: 0.9375 kB / 0.7807 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.00603, allocations: 28.78 kB / 0.7807 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.006152, allocations: 13.02 kB / 0.7807 GB, free: 320 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.00637, allocations: 165.8 kB / 0.7809 GB, free: 124 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.006401, allocations: 63.88 kB / 0.7809 GB, free: 40 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.006423, allocations: 5.5 kB / 0.7809 GB, free: 36 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.006488, allocations: 67.38 kB / 0.781 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of SimCode: time 3.7e-07/0.006489, allocations: 3.938 kB / 0.781 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.002441/0.008929, allocations: 1.061 MB / 0.782 GB, free: 14.96 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.925936243496835]