Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.186/2.186, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 179.2 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.42/2.42, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009836/0.0009834, allocations: 93.41 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005112, allocations: 12.53 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2224, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.4475, allocations: 131.4 MB / 1.028 GB, free: 13.94 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4478, allocations: 75.89 kB / 1.028 GB, free: 13.86 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.002795/0.4507, allocations: 0.7446 MB / 1.029 GB, free: 13.12 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4507, allocations: 4 kB / 1.029 GB, free: 13.11 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4507, allocations: 4 kB / 1.029 GB, free: 13.11 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005286/0.4513, allocations: 347.4 kB / 1.029 GB, free: 12.72 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4513, allocations: 8.031 kB / 1.029 GB, free: 12.71 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.4514, allocations: 8.844 kB / 1.029 GB, free: 12.7 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4515, allocations: 164.4 kB / 1.029 GB, free: 12.5 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4515, allocations: 384 / 1.029 GB, free: 12.5 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.4516, allocations: 16.31 kB / 1.029 GB, free: 12.49 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.4518, allocations: 66.16 kB / 1.029 GB, free: 12.42 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4519, allocations: 192 / 1.029 GB, free: 12.42 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4519, allocations: 3.938 kB / 1.029 GB, free: 12.41 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4519, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.4522, allocations: 47.97 kB / 1.029 GB, free: 12.37 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.4527, allocations: 261 kB / 1.03 GB, free: 12.06 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.453, allocations: 54.44 kB / 1.03 GB, free: 12 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.4531, allocations: 32.92 kB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.4532, allocations: 0 / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.4535, allocations: 75.39 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 4.889e-06/0.4535, allocations: 3.984 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4): time 0.0006092/0.4541, allocations: 121.5 kB / 1.03 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.4542, allocations: 63.34 kB / 1.03 GB, free: 11.68 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4543, allocations: 105.8 kB / 1.03 GB, free: 11.56 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4543, allocations: 25.7 kB / 1.03 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.4544, allocations: 84.14 kB / 1.03 GB, free: 11.45 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.4544, allocations: 11.89 kB / 1.03 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.4545, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4546, allocations: 318.8 kB / 1.03 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.4548, allocations: 27.98 kB / 1.03 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.455, allocations: 46.55 kB / 1.03 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4552, allocations: 31.92 kB / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4552, allocations: 0 / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003963/0.4556, allocations: 97.5 kB / 1.031 GB, free: 10.9 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4556, allocations: 8.094 kB / 1.031 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4556, allocations: 0 / 1.031 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4557, allocations: 0 / 1.031 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.4558, allocations: 19.92 kB / 1.031 GB, free: 10.87 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4558, allocations: 320 / 1.031 GB, free: 10.87 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4559, allocations: 11.94 kB / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.456, allocations: 0 / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4561, allocations: 125.8 kB / 1.031 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.4561, allocations: 0 / 1.031 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.4562, allocations: 11.91 kB / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4562, allocations: 3.938 kB / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4562, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4562, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.4569, allocations: 346.4 kB / 1.031 GB, free: 10.31 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4569, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-05/0.457, allocations: 11.98 kB / 1.031 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.457, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.457, allocations: 4 kB / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.457, allocations: 8.109 kB / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4571, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.4575, allocations: 191.4 kB / 1.031 GB, free: 10.08 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.4576, allocations: 85.02 kB / 1.031 GB, free: 9.98 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4576, allocations: 0 / 1.031 GB, free: 9.98 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4577, allocations: 11.98 kB / 1.031 GB, free: 9.969 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.4578, allocations: 11.94 kB / 1.031 GB, free: 9.957 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4578, allocations: 3.938 kB / 1.031 GB, free: 9.953 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.4579, allocations: 91.2 kB / 1.031 GB, free: 9.863 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4579, allocations: 0 / 1.031 GB, free: 9.863 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002816/0.4582, allocations: 8 kB / 1.032 GB, free: 9.855 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.4583, allocations: 95.25 kB / 1.032 GB, free: 9.754 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.4587, allocations: 59.95 kB / 1.032 GB, free: 9.695 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4587, allocations: 4 kB / 1.032 GB, free: 9.691 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.4589, allocations: 28.11 kB / 1.032 GB, free: 9.664 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.4593, allocations: 15.98 kB / 1.032 GB, free: 9.648 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.4597, allocations: 128.7 kB / 1.032 GB, free: 9.496 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.46, allocations: 0.6809 MB / 1.032 GB, free: 8.789 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 6.719e-05/0.4601, allocations: 3.938 kB / 1.032 GB, free: 8.785 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.4601, allocations: 15.44 kB / 1.033 GB, free: 8.77 MB / 0.6824 GB Notification: Performance of SimCode: time 9.62e-07/0.4602, allocations: 0 / 1.033 GB, free: 8.77 MB / 0.6824 GB Notification: Performance of Templates: time 0.003377/0.4635, allocations: 480.1 kB / 1.033 GB, free: 8.305 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)