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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, 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.001394/0.001394, allocations: 193.5 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.558/1.558, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.18/3.18, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.83 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4551, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002523/0.4577, allocations: 0.7417 MB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.4595, allocations: 1.083 MB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.4595, allocations: 4 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.4596, allocations: 3.938 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.4597, allocations: 11.86 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.4601, allocations: 47.83 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.4602, allocations: 71.84 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.4604, allocations: 28.08 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.744e-05/0.4605, allocations: 31.92 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.4606, allocations: 31.84 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.4606, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.4607, allocations: 31.84 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.4607, allocations: 15.98 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.4608, allocations: 27.81 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.461, allocations: 75.8 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.461, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.445e-06/0.461, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.461, allocations: 0 / 1.07 GB, free: 8.148 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.0006596/0.4617, allocations: 375.5 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.4617, allocations: 15.97 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.4618, allocations: 8.844 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.462, allocations: 172.2 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.462, allocations: 8.375 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.462, allocations: 4.375 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.4623, allocations: 70.16 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4623, allocations: 3.938 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4623, allocations: 8 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4623, allocations: 0 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.4625, allocations: 43.95 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.4632, allocations: 324.7 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4634, allocations: 58.55 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.808e-05/0.4635, allocations: 28.97 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.4636, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.4638, allocations: 83.27 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4638, allocations: 4 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000446/0.4643, allocations: 125.7 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.4643, allocations: 55.41 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4644, allocations: 125.7 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4645, allocations: 29.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.4645, allocations: 92.12 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.4646, allocations: 23.73 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.4646, allocations: 25.7 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4648, allocations: 322.8 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4649, allocations: 31.97 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.465, allocations: 82.36 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.4652, allocations: 109.8 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4653, allocations: 4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002989/0.4656, allocations: 129.4 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4656, allocations: 4 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4656, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4656, allocations: 8.219 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4658, allocations: 23.91 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4658, allocations: 4 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.4659, allocations: 8 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4659, allocations: 4 kB / 1.073 GB, free: 5.516 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.0001049/0.466, allocations: 132.9 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.466, allocations: 3.906 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.4661, allocations: 12.38 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4661, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4661, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4661, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.4666, allocations: 374.4 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4666, allocations: 3.938 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.4667, allocations: 7.984 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4667, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4667, allocations: 12 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4667, allocations: 3.938 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4667, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.467, allocations: 191.5 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.467, allocations: 88.95 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4671, allocations: 0 / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.4672, allocations: 15.92 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.4672, allocations: 8 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4672, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.4673, allocations: 95.42 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.024e-06/0.4673, allocations: 7.938 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002638/0.4676, allocations: 15.94 kB / 1.074 GB, free: 4.461 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.0002095/0.4678, allocations: 107.8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.4681, allocations: 87.86 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4681, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4682, allocations: 31.92 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.4685, allocations: 11.98 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.4689, allocations: 166.5 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.4692, allocations: 0.689 MB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.4692, allocations: 11.78 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.4692, allocations: 15.38 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4692, allocations: 8 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of Templates: time 0.003627/0.4729, allocations: 0.9679 MB / 1.076 GB, free: 2.352 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)