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.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00887/0.00887, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.593/1.593, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.108/3.108, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.000454, allocations: 12.09 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4469, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001219/0.4482, allocations: 485 kB / 1.075 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.4501, allocations: 1.069 MB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.4502, allocations: 3.938 kB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.4502, allocations: 0 / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.4503, allocations: 11.92 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.4507, allocations: 39.91 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.4508, allocations: 71.77 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.4509, allocations: 20.17 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.451, allocations: 23.86 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.4511, allocations: 35.83 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.4511, allocations: 0 / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.4512, allocations: 19.98 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.4513, allocations: 7.984 kB / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.4513, allocations: 53.52 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.4515, allocations: 67.8 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4515, allocations: 4 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4515, allocations: 0 / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.4515, allocations: 4 kB / 1.076 GB, free: 5.594 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.0006408/0.4522, allocations: 375.5 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4522, allocations: 8.031 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.4523, allocations: 8.922 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4525, allocations: 176.2 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4525, allocations: 8.375 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.4525, allocations: 4.375 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.4528, allocations: 82.09 kB / 1.077 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4528, allocations: 3.938 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4528, allocations: 0 / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4528, allocations: 0 / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.453, allocations: 59.95 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.4538, allocations: 328.6 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.454, allocations: 58.55 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4541, allocations: 40.95 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.4541, allocations: 0 / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.4544, allocations: 91.39 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4544, allocations: 0 / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000478/0.4549, allocations: 149.5 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.455, allocations: 55.39 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.4551, allocations: 117.8 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.4551, allocations: 25.7 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.4552, allocations: 100 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.4552, allocations: 15.75 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.4553, allocations: 21.72 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4554, allocations: 322.8 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.4555, allocations: 35.97 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.4557, allocations: 89.86 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.456, allocations: 113.9 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.456, allocations: 4 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003797/0.4564, allocations: 141.4 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4564, allocations: 8 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4564, allocations: 0 / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4565, allocations: 4 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.4566, allocations: 20.2 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4566, allocations: 4 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.4567, allocations: 15.98 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.4568, allocations: 4 kB / 1.078 GB, free: 2.887 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.0001243/0.4569, allocations: 122.8 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.4569, allocations: 11.89 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.457, allocations: 8.375 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.457, allocations: 8 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.457, allocations: 0 / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.457, allocations: 0 / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.4576, allocations: 382.4 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.4576, allocations: 4 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.4576, allocations: 11.98 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4576, allocations: 0 / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4577, allocations: 7.938 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4577, allocations: 7.938 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4577, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.458, allocations: 211.4 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.4581, allocations: 88.94 kB / 1.079 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.4581, allocations: 0 / 1.079 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.4582, allocations: 11.94 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.4583, allocations: 11.92 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4583, allocations: 4 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.4583, allocations: 99.2 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4583, allocations: 0 / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002777/0.4586, allocations: 16 kB / 1.079 GB, free: 1.801 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.000185/0.4588, allocations: 103.2 kB / 1.079 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.4591, allocations: 91.88 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4591, allocations: 0 / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.4593, allocations: 43.91 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.4596, allocations: 15.14 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.46, allocations: 165.4 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4603, allocations: 0.6893 MB / 1.08 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.4604, allocations: 15.78 kB / 1.08 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.4604, allocations: 19.42 kB / 1.08 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.4604, allocations: 0 / 1.08 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of Templates: time 0.003954/0.4644, allocations: 0.8563 MB / 1.081 GB, free: 15.75 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)