Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.3 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 179.8 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 97.52 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 11.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2741, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001042/0.2752, allocations: 469.8 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2765, allocations: 1.048 MB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.2765, allocations: 7.938 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.2765, allocations: 3.938 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.2766, allocations: 15.97 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2769, allocations: 39.84 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.277, allocations: 43.94 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2771, allocations: 12.19 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.279e-05/0.2772, allocations: 23.91 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.2773, allocations: 27.84 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2773, allocations: 4 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.2774, allocations: 15.98 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.2774, allocations: 19.97 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.2774, allocations: 33.64 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.2776, allocations: 51.89 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2776, allocations: 0 / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2776, allocations: 0 / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2776, allocations: 0 / 0.9812 GB, free: 25.86 MB / 0.6198 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.0005756/0.2782, allocations: 371.4 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2782, allocations: 16.02 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.2783, allocations: 7.906 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2784, allocations: 175 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.2785, allocations: 7.984 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.2785, allocations: 11.94 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.2787, allocations: 69.61 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2787, allocations: 0 / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2787, allocations: 0 / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2788, allocations: 4 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2789, allocations: 55.95 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.2796, allocations: 332.6 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2798, allocations: 62.48 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.2798, allocations: 4.125 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.28, allocations: 83.41 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.28, allocations: 0 / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004171/0.2805, allocations: 145.5 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2805, allocations: 59.39 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.2806, allocations: 121.8 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2806, allocations: 29.7 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.2807, allocations: 92.03 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.2807, allocations: 19.84 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.2807, allocations: 0 / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.2808, allocations: 322.8 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2809, allocations: 27.98 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.281, allocations: 85.92 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2811, allocations: 43.97 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2812, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002642/0.2814, allocations: 141.6 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2815, allocations: 4 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2815, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2815, allocations: 4 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2816, allocations: 27.91 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2816, allocations: 320 / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.2817, allocations: 15.91 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2817, allocations: 7.953 kB / 0.9835 GB, free: 23.32 MB / 0.6198 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.2818, allocations: 134.5 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.2818, allocations: 7.906 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.2819, allocations: 8.375 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2819, allocations: 3.938 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2819, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2819, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.2823, allocations: 390.4 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2823, allocations: 3.938 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.2824, allocations: 11.98 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2824, allocations: 7.938 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.2824, allocations: 0 / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2824, allocations: 4 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2824, allocations: 3.953 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.2826, allocations: 211.4 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.2827, allocations: 81.02 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2827, allocations: 12 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.2828, allocations: 7.984 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.2828, allocations: 7.984 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.2828, allocations: 3.953 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.2829, allocations: 99.92 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.162e-06/0.2829, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002293/0.2831, allocations: 15.94 kB / 0.9844 GB, free: 22.23 MB / 0.6198 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 (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.2833, allocations: 107.6 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.2835, allocations: 87.89 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2835, allocations: 448 / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.2836, allocations: 39.97 kB / 0.9846 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.2838, allocations: 15.92 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.2842, allocations: 173.2 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2843, allocations: 0.6965 MB / 0.9855 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.2844, allocations: 7.781 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.2844, allocations: 11.44 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2844, allocations: 0 / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.003119/0.2875, allocations: 0.8392 MB / 0.9863 GB, free: 20.24 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)