Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.00165, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 62.88 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4538, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002372/0.4562, allocations: 0.7588 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.4577, allocations: 1.075 MB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.4578, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.4579, allocations: 3.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.458, allocations: 19.84 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.4584, allocations: 55.83 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.4585, allocations: 67.84 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4587, allocations: 20.16 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.4588, allocations: 39.73 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.4589, allocations: 31.89 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.4589, allocations: 8 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.459, allocations: 19.98 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.459, allocations: 15.92 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.4591, allocations: 31.88 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.4592, allocations: 79.73 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4592, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4592, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4592, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 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.000601/0.4599, allocations: 375.5 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4599, allocations: 8.031 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.4599, allocations: 8.844 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4601, allocations: 184.1 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.4601, allocations: 12.38 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.4602, allocations: 8.312 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.4604, allocations: 58.23 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4604, allocations: 11.92 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.4604, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4604, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.4606, allocations: 43.95 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.4613, allocations: 324.7 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.4615, allocations: 54.55 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4616, allocations: 32.97 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4617, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.4619, allocations: 83.31 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.4619, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004475/0.4624, allocations: 129.6 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.4624, allocations: 55.41 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.4625, allocations: 125.7 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4626, allocations: 25.7 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.4626, allocations: 92.14 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.4627, allocations: 19.73 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.4627, allocations: 29.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4628, allocations: 318.8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.463, allocations: 35.97 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4631, allocations: 77.86 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.4633, allocations: 109.8 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4633, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003125/0.4637, allocations: 137.4 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4637, allocations: 8 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4637, allocations: 0 / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.4637, allocations: 4 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4639, allocations: 15.98 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4639, allocations: 3.984 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.464, allocations: 12 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.464, allocations: 8.219 kB / 1.073 GB, free: 5.57 MB / 0.8262 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 0.0001116/0.4641, allocations: 125.7 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.4642, allocations: 7.906 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.4642, allocations: 8.375 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4642, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4642, allocations: 4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4642, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.4647, allocations: 382.3 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4647, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.4648, allocations: 11.98 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4648, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.4648, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4648, allocations: 3.938 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4648, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.4651, allocations: 203.9 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.4652, allocations: 84.95 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.4652, allocations: 11.94 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.4653, allocations: 11.92 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.4653, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4653, allocations: 4 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.4654, allocations: 91.92 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4654, allocations: 4 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002506/0.4657, allocations: 16 kB / 1.074 GB, free: 4.52 MB / 0.8262 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.0001929/0.4659, allocations: 111.7 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.4662, allocations: 79.95 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4662, allocations: 448 / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4663, allocations: 39.91 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.4666, allocations: 16.31 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.467, allocations: 166 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4673, allocations: 0.689 MB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.4674, allocations: 11.77 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.4674, allocations: 11.44 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.4674, allocations: 0 / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.004963/0.4724, allocations: 0.9736 MB / 1.076 GB, free: 2.41 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)