Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.0009697/0.0009697, 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.001025/0.001025, 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.9916/0.9916, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 2.028/2.028, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.593e-05, allocations: 6.312 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00131/0.001326, allocations: 0.7946 MB / 0.776 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.002473, allocations: 1.127 MB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.002516, allocations: 0 / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.002543, allocations: 10.25 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.002613, allocations: 11.66 kB / 0.7771 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.002827, allocations: 48.69 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.002921, allocations: 72.98 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.003003, allocations: 28.08 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.003081, allocations: 40.47 kB / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.003126, allocations: 27.89 kB / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.00314, allocations: 8.688 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.003194, allocations: 20.7 kB / 0.7774 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.003211, allocations: 11.98 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.003238, allocations: 24.52 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.617e-05/0.003334, allocations: 59.8 kB / 0.7775 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.003335, allocations: 1.5 kB / 0.7775 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003336, allocations: 0 / 0.7775 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003339, allocations: 0 / 0.7775 GB, free: 3.105 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.0002917/0.00363, allocations: 268.7 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.519e-05/0.003656, allocations: 9.875 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.003678, allocations: 8.938 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.076e-05/0.003749, allocations: 125.6 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.003759, allocations: 9.281 kB / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.003766, allocations: 4.375 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/0.003849, allocations: 67.53 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003856, allocations: 0.9375 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.003861, allocations: 384 / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003866, allocations: 5.656 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.003886, allocations: 15.92 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.004139, allocations: 196.2 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.004193, allocations: 27.11 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.004208, allocations: 9.516 kB / 0.7782 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.004222, allocations: 12.86 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.004276, allocations: 55.33 kB / 0.7782 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.004277, allocations: 1.438 kB / 0.7782 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001012/0.004378, allocations: 61.84 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.004406, allocations: 55.41 kB / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.004465, allocations: 130.6 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.004477, allocations: 30.36 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.004507, allocations: 93.8 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.004523, allocations: 19.83 kB / 0.7786 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.004555, allocations: 25.7 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.004624, allocations: 322.8 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.004639, allocations: 7.984 kB / 0.779 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.004673, allocations: 50.81 kB / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.004735, allocations: 76.52 kB / 0.7791 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.004736, allocations: 0 / 0.7791 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.26e-05/0.004819, allocations: 78.95 kB / 0.7791 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.004829, allocations: 8.719 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.004833, allocations: 4.078 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.004847, allocations: 5.75 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.004916, allocations: 23.91 kB / 0.7792 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.004921, allocations: 11.98 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.004951, allocations: 7.953 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.004959, allocations: 8.438 kB / 0.7792 GB, free: 1.121 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.08e-05/0.00501, allocations: 114.9 kB / 0.7793 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.005019, allocations: 11.92 kB / 0.7793 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.005036, allocations: 12.91 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005037, allocations: 0 / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005038, allocations: 1.125 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005041, allocations: 4 kB / 0.7794 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.00519, allocations: 214.8 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.005192, allocations: 4.75 kB / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.005212, allocations: 7.938 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.005215, allocations: 8.797 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.005219, allocations: 0 / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.00522, allocations: 0.9375 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005221, allocations: 0 / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.294e-05/0.005294, allocations: 148.1 kB / 0.7797 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.005303, allocations: 11.89 kB / 0.7797 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.005313, allocations: 8.672 kB / 0.7797 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.005345, allocations: 4 kB / 0.7797 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.005366, allocations: 5.234 kB / 0.7797 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.00537, allocations: 4 kB / 0.7798 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.365e-05/0.005384, allocations: 16.86 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005384, allocations: 1.062 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001332/0.005517, allocations: 15.98 kB / 0.7798 GB, free: 0.4961 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 8.627e-05/0.005603, allocations: 87.11 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.217e-05/0.005676, allocations: 44.77 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005677, allocations: 0 / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.005704, allocations: 20.84 kB / 0.7799 GB, free: 340 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.005828, allocations: 18.53 kB / 0.7799 GB, free: 324 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.006036, allocations: 164.9 kB / 0.7801 GB, free: 128 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.006068, allocations: 59.34 kB / 0.7802 GB, free: 48 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.00609, allocations: 11.98 kB / 0.7802 GB, free: 36 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.006155, allocations: 59.89 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.006155, allocations: 5.094 kB / 0.7802 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of Templates: time 0.002642/0.008797, allocations: 1.068 MB / 0.7813 GB, free: 15 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.001292136032134]