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.001373/0.001373, allocations: 89.45 kB / 21.63 MB, free: 2.828 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.001647/0.001647, allocations: 173.7 kB / 25.05 MB, free: 9.207 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.9563/0.9563, allocations: 177.1 MB / 205.5 MB, free: 5.453 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.963/1.963, allocations: 389.6 MB / 0.6363 GB, free: 12.26 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 2.395e-06/2.395e-06, allocations: 0 / 0.7761 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.779e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002406/0.002434, allocations: 0.8094 MB / 0.7769 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.003986, allocations: 1.119 MB / 0.778 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.004039, allocations: 3.938 kB / 0.778 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.676e-05/0.004086, allocations: 8.516 kB / 0.778 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.004181, allocations: 12.56 kB / 0.7781 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.004494, allocations: 44.59 kB / 0.7781 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.004639, allocations: 83.23 kB / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004743, allocations: 24.05 kB / 0.7782 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004846, allocations: 43.88 kB / 0.7782 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.004902, allocations: 16.86 kB / 0.7783 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.00492, allocations: 8 kB / 0.7783 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.005006, allocations: 28.44 kB / 0.7783 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.005029, allocations: 11.98 kB / 0.7783 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.005061, allocations: 24.86 kB / 0.7783 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.005201, allocations: 63.78 kB / 0.7784 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005204, allocations: 1.719 kB / 0.7784 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005205, allocations: 0 / 0.7784 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005209, allocations: 0 / 0.7784 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004114/0.00562, allocations: 268.7 kB / 0.7786 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.005659, allocations: 9.875 kB / 0.7787 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.005693, allocations: 8.938 kB / 0.7787 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.005797, allocations: 122.7 kB / 0.7788 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005811, allocations: 4.375 kB / 0.7788 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.005826, allocations: 4.375 kB / 0.7788 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.005957, allocations: 69.83 kB / 0.7789 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.005965, allocations: 192 / 0.7789 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.005972, allocations: 384 / 0.7789 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.00598, allocations: 4.125 kB / 0.7789 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.006009, allocations: 11.94 kB / 0.7789 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.006395, allocations: 188.7 kB / 0.7791 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.525e-05/0.00648, allocations: 38.39 kB / 0.7791 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.006503, allocations: 16.98 kB / 0.7791 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.006521, allocations: 0 / 0.7791 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.205e-05/0.006603, allocations: 55.33 kB / 0.7792 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.006605, allocations: 0 / 0.7792 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001429/0.006748, allocations: 61.61 kB / 0.7792 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.006795, allocations: 63.39 kB / 0.7793 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.006879, allocations: 118.6 kB / 0.7794 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.006897, allocations: 33.69 kB / 0.7794 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.006943, allocations: 93.08 kB / 0.7795 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.006965, allocations: 19.83 kB / 0.7795 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.007013, allocations: 26.89 kB / 0.7796 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.007113, allocations: 322.8 kB / 0.7799 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.007137, allocations: 4 kB / 0.7799 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.007193, allocations: 53.98 kB / 0.7799 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.911e-05/0.007282, allocations: 77.14 kB / 0.78 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.007284, allocations: 0 / 0.78 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001379/0.007422, allocations: 83.09 kB / 0.7801 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.007439, allocations: 12.84 kB / 0.7801 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007444, allocations: 0 / 0.7801 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.007456, allocations: 4 kB / 0.7801 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.007567, allocations: 21.23 kB / 0.7801 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.007573, allocations: 4 kB / 0.7801 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.007629, allocations: 11.94 kB / 0.7801 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.007641, allocations: 4.812 kB / 0.7801 GB, free: 0.8789 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 7.839e-05/0.00772, allocations: 117.8 kB / 0.7802 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.007736, allocations: 11.88 kB / 0.7802 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.007762, allocations: 12.42 kB / 0.7803 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.007765, allocations: 0 / 0.7803 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.007768, allocations: 5.594 kB / 0.7803 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007771, allocations: 0 / 0.7803 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.008009, allocations: 214.8 kB / 0.7805 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.008012, allocations: 3.938 kB / 0.7805 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.008052, allocations: 12.67 kB / 0.7805 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.008056, allocations: 4 kB / 0.7805 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.008062, allocations: 4.562 kB / 0.7805 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008064, allocations: 0 / 0.7805 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008065, allocations: 0.5312 kB / 0.7805 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.008177, allocations: 148.2 kB / 0.7806 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.008191, allocations: 15.89 kB / 0.7807 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.008203, allocations: 1.375 kB / 0.7807 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.008264, allocations: 7.984 kB / 0.7807 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.008294, allocations: 0 / 0.7807 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.008306, allocations: 4.625 kB / 0.7807 GB, free: 296 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.571e-05/0.008331, allocations: 24.83 kB / 0.7807 GB, free: 268 kB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.008331, allocations: 1.469 kB / 0.7807 GB, free: 268 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002395/0.008571, allocations: 12 kB / 0.7807 GB, free: 256 kB / 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.0001292/0.0087, allocations: 89.47 kB / 0.7808 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.008816, allocations: 43.14 kB / 0.7808 GB, free: 112 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.008821, allocations: 4 kB / 0.7808 GB, free: 108 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.00886, allocations: 25.61 kB / 0.7809 GB, free: 80 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.009064, allocations: 16.7 kB / 0.7809 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.0094, allocations: 166 kB / 0.781 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.009445, allocations: 59.34 kB / 0.7811 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.009479, allocations: 5.125 kB / 0.7811 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.009554, allocations: 67.38 kB / 0.7812 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.009554, allocations: 1.406 kB / 0.7812 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.003675/0.01323, allocations: 1.068 MB / 0.7822 GB, free: 14.71 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.916369494982064]