Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0008426/0.0008426, 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.001012/0.001012, 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.039/1.039, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.922/1.922, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7752 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.658e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002197/0.002224, allocations: 0.755 MB / 0.7759 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003768, allocations: 1.122 MB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.003819, allocations: 4.594 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.003851, allocations: 8.594 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.003937, allocations: 8.75 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.004238, allocations: 57.31 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.004367, allocations: 70.52 kB / 0.7772 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.004459, allocations: 24.08 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.004558, allocations: 41.03 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.004613, allocations: 27.95 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.004632, allocations: 8 kB / 0.7773 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.096e-05/0.004693, allocations: 24.77 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.004717, allocations: 11.98 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.004746, allocations: 19.92 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.004872, allocations: 60.45 kB / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004874, allocations: 0.75 kB / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.61e-07/0.004875, allocations: 4 kB / 0.7774 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.004879, allocations: 0.5938 kB / 0.7774 GB, free: 3.199 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.0003317/0.00521, allocations: 269.9 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.005246, allocations: 8.75 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.005276, allocations: 12.92 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/0.005374, allocations: 125.6 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005385, allocations: 1.812 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.005401, allocations: 4.375 kB / 0.7778 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.005513, allocations: 66.88 kB / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.005522, allocations: 4.844 kB / 0.7778 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.005531, allocations: 4.375 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.005538, allocations: 4.812 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.005567, allocations: 15.92 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.005924, allocations: 189.9 kB / 0.778 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.006009, allocations: 30.58 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.00603, allocations: 13.75 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.006046, allocations: 3.938 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.733e-05/0.006124, allocations: 63.81 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.006125, allocations: 0.75 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001308/0.006256, allocations: 57.81 kB / 0.7782 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.006297, allocations: 54.31 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.006391, allocations: 130.6 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.006408, allocations: 29.64 kB / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.006457, allocations: 96.08 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.00648, allocations: 19.83 kB / 0.7785 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.006528, allocations: 29.69 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.006628, allocations: 314.8 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.006652, allocations: 11.98 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.006702, allocations: 52.77 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.00679, allocations: 75.91 kB / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006792, allocations: 0 / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000126/0.006918, allocations: 78.23 kB / 0.7791 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.006935, allocations: 7.938 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.00694, allocations: 1.094 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.006955, allocations: 7.984 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.007052, allocations: 19.92 kB / 0.7791 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.007058, allocations: 5.188 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.007109, allocations: 7.953 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.007123, allocations: 8.625 kB / 0.7791 GB, free: 1.227 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.252e-05/0.007195, allocations: 110.5 kB / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.007215, allocations: 15.92 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.007236, allocations: 6.188 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.00724, allocations: 4 kB / 0.7792 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.007243, allocations: 4 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007246, allocations: 0 / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.007488, allocations: 223.3 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.007492, allocations: 7.938 kB / 0.7795 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.104e-05/0.007523, allocations: 5 kB / 0.7795 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.007526, allocations: 0 / 0.7795 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.007532, allocations: 0.5312 kB / 0.7795 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007533, allocations: 3.938 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.007535, allocations: 5.062 kB / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.007647, allocations: 151.5 kB / 0.7796 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.007662, allocations: 11.89 kB / 0.7796 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.007674, allocations: 0.8125 kB / 0.7796 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.007736, allocations: 7.984 kB / 0.7796 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.007765, allocations: 4.516 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.007773, allocations: 8.938 kB / 0.7797 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.965e-05/0.007793, allocations: 12.86 kB / 0.7797 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.007793, allocations: 0 / 0.7797 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002548/0.008047, allocations: 12.59 kB / 0.7797 GB, free: 0.6016 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.0001568/0.008204, allocations: 94.17 kB / 0.7798 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.008312, allocations: 42.58 kB / 0.7798 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.008316, allocations: 4 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.008352, allocations: 17.84 kB / 0.7798 GB, free: 444 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.00856, allocations: 16.88 kB / 0.7799 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.008889, allocations: 162.4 kB / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.008937, allocations: 67.28 kB / 0.7801 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.008969, allocations: 7.984 kB / 0.7801 GB, free: 140 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.009036, allocations: 62.14 kB / 0.7801 GB, free: 80 kB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.009037, allocations: 0 / 0.7801 GB, free: 80 kB / 0.7292 GB Notification: Performance of Templates: time 0.002999/0.01204, allocations: 1.074 MB / 0.7812 GB, free: 15.1 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.989546358119696]