Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008301/0.0008299, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006589/0.00659, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.548/1.548, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.175/3.175, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004294, allocations: 15.69 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4549, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001299/0.4562, allocations: 484.9 kB / 1.075 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.4581, allocations: 1.065 MB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.4581, allocations: 0 / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.4582, allocations: 3.938 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.4583, allocations: 15.91 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.4587, allocations: 39.92 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.4588, allocations: 71.81 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.459, allocations: 20.17 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.4591, allocations: 23.86 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.4591, allocations: 27.89 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.4592, allocations: 7.938 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.4593, allocations: 15.98 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.4593, allocations: 11.94 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.4594, allocations: 49.56 kB / 1.076 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.4596, allocations: 71.73 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4596, allocations: 4 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4596, allocations: 0 / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.4596, allocations: 0 / 1.076 GB, free: 5.613 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.0006427/0.4602, allocations: 379.5 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4603, allocations: 8.031 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.4604, allocations: 4.938 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4605, allocations: 180.2 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4606, allocations: 8.375 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.4606, allocations: 4.375 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.4609, allocations: 78.11 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4609, allocations: 3.938 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4609, allocations: 3.984 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4609, allocations: 0 / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.4611, allocations: 55.97 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.4619, allocations: 336.6 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.462, allocations: 58.55 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.4622, allocations: 36.97 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4622, allocations: 0 / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.4624, allocations: 87.39 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.4625, allocations: 0 / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004828/0.4629, allocations: 153.5 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.463, allocations: 51.41 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.4632, allocations: 125.8 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4632, allocations: 25.7 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.4633, allocations: 96.05 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.4633, allocations: 19.73 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.4633, allocations: 17.72 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4635, allocations: 326.8 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4636, allocations: 27.98 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4638, allocations: 85.91 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4641, allocations: 113.9 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4641, allocations: 3.938 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003628/0.4645, allocations: 153.3 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4645, allocations: 4 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4645, allocations: 4.219 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4645, allocations: 4 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4647, allocations: 19.98 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4647, allocations: 4 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.4648, allocations: 15.98 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4648, allocations: 4 kB / 1.078 GB, free: 2.898 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.0001322/0.4649, allocations: 125.7 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.465, allocations: 11.91 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.465, allocations: 12.36 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.465, allocations: 0 / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.465, allocations: 4 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4651, allocations: 0 / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.4656, allocations: 386.4 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4657, allocations: 3.984 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.4657, allocations: 8 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4657, allocations: 0 / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4657, allocations: 0 / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4658, allocations: 3.938 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.4658, allocations: 7.984 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.4661, allocations: 203.4 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.4662, allocations: 88.95 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.4662, allocations: 3.984 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.4663, allocations: 19.94 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.4664, allocations: 7.922 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4664, allocations: 4 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.779e-05/0.4665, allocations: 91.27 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4665, allocations: 0 / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002736/0.4668, allocations: 16 kB / 1.079 GB, free: 1.82 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.0002242/0.467, allocations: 104.2 kB / 1.079 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.4674, allocations: 99.8 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4674, allocations: 0 / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.4675, allocations: 48.34 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4678, allocations: 4 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.4683, allocations: 173.4 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4687, allocations: 0.6939 MB / 1.08 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.4688, allocations: 7.781 kB / 1.08 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.4688, allocations: 11.44 kB / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.4688, allocations: 0 / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of Templates: time 0.00402/0.4728, allocations: 0.8803 MB / 1.081 GB, free: 15.78 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)