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.0009766/0.0009766, 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.001096/0.001096, 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 1.035/1.035, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.6354 GB, free: 12.29 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.795e-06/2.795e-06, allocations: 0 / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.672e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001587/0.001613, allocations: 0.7518 MB / 0.7759 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.002772, allocations: 1.129 MB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.002818, allocations: 4 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.002848, allocations: 3.938 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.002935, allocations: 8.75 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.003265, allocations: 55.75 kB / 0.7771 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.003395, allocations: 78.5 kB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.003491, allocations: 20.09 kB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.003589, allocations: 39.91 kB / 0.7772 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.003639, allocations: 27.52 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.003661, allocations: 8 kB / 0.7772 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.003723, allocations: 23.92 kB / 0.7773 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.003748, allocations: 7.984 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.003775, allocations: 23.92 kB / 0.7773 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003897, allocations: 63.73 kB / 0.7774 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003899, allocations: 0 / 0.7774 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.0039, allocations: 4 kB / 0.7774 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003903, allocations: 0 / 0.7774 GB, free: 3.191 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.0003453/0.004248, allocations: 276.6 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.004281, allocations: 9.344 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.00431, allocations: 8.922 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.004401, allocations: 121.7 kB / 0.7778 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004412, allocations: 384 / 0.7778 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.004424, allocations: 4.375 kB / 0.7778 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/0.004522, allocations: 66.88 kB / 0.7778 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004531, allocations: 4.172 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.004538, allocations: 4.375 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.004545, allocations: 4.125 kB / 0.7778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.004564, allocations: 11.98 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.004858, allocations: 191 kB / 0.778 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.749e-05/0.004926, allocations: 26.58 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.004944, allocations: 16.97 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.004959, allocations: 0 / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.005026, allocations: 64.31 kB / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005027, allocations: 0 / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001211/0.005148, allocations: 57.72 kB / 0.7782 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.005186, allocations: 56.56 kB / 0.7782 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.005254, allocations: 130.6 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005265, allocations: 29.64 kB / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.0053, allocations: 97.08 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.005317, allocations: 19.83 kB / 0.7785 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.005354, allocations: 29.69 kB / 0.7785 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.005425, allocations: 315.4 kB / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.005443, allocations: 12.52 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.005479, allocations: 53.94 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.005543, allocations: 72.64 kB / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005545, allocations: 0.625 kB / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.345e-05/0.005639, allocations: 83.89 kB / 0.7791 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.005652, allocations: 7.938 kB / 0.7791 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.005658, allocations: 3.984 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.00567, allocations: 4 kB / 0.7791 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.00575, allocations: 16.92 kB / 0.7791 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.005754, allocations: 4 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.005788, allocations: 8.453 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.005798, allocations: 4.875 kB / 0.7791 GB, free: 1.23 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 6.669e-05/0.005865, allocations: 117.8 kB / 0.7792 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.005877, allocations: 13.58 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.005898, allocations: 8.438 kB / 0.7792 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.005901, allocations: 4 kB / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.005903, allocations: 0 / 0.7792 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005907, allocations: 4.688 kB / 0.7792 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.006103, allocations: 219 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.006106, allocations: 5.719 kB / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.006127, allocations: 4 kB / 0.7795 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006128, allocations: 4 kB / 0.7795 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.006133, allocations: 0 / 0.7795 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.006135, allocations: 4.891 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.006137, allocations: 3.984 kB / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.006222, allocations: 155.5 kB / 0.7796 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.006235, allocations: 16.45 kB / 0.7796 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.006244, allocations: 5.391 kB / 0.7796 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.006275, allocations: 4 kB / 0.7796 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.006304, allocations: 3.984 kB / 0.7797 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.006308, allocations: 4 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.751e-05/0.006325, allocations: 17.73 kB / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006325, allocations: 0 / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001497/0.006475, allocations: 16.86 kB / 0.7797 GB, free: 0.5898 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.0001259/0.006601, allocations: 84.97 kB / 0.7798 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.00669, allocations: 42.22 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.006693, allocations: 0 / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.006724, allocations: 26 kB / 0.7798 GB, free: 436 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.006862, allocations: 11.94 kB / 0.7798 GB, free: 424 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.007104, allocations: 166.1 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.048e-05/0.007135, allocations: 60.41 kB / 0.7801 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.007157, allocations: 7.984 kB / 0.7801 GB, free: 140 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.007207, allocations: 63.89 kB / 0.7801 GB, free: 76 kB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.007208, allocations: 0.5312 kB / 0.7801 GB, free: 76 kB / 0.7292 GB Notification: Performance of Templates: time 0.002796/0.01, allocations: 1.069 MB / 0.7812 GB, free: 15.07 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: 5.024941525887698]