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 2.038/2.038, allocations: 288.4 MB / 303.4 MB, free: 8.078 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.001227/0.001227, allocations: 180.5 kB / 372 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.893/1.893, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0009327/0.000932, allocations: 86.41 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005836/0.0005838, allocations: 12.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2652, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001253/0.2666, allocations: 472 kB / 0.9801 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2682, allocations: 1.06 MB / 0.9811 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.2683, allocations: 0 / 0.9811 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.2683, allocations: 7.922 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.2685, allocations: 7.938 kB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.2689, allocations: 43.89 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.269, allocations: 55.84 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2692, allocations: 20.16 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2693, allocations: 23.86 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.2694, allocations: 31.91 kB / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2694, allocations: 0 / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.2695, allocations: 19.98 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.2695, allocations: 15.91 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.2696, allocations: 29.7 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2697, allocations: 55.89 kB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2697, allocations: 0 / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2697, allocations: 0 / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.2697, allocations: 0 / 0.9814 GB, free: 25.81 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.0006289/0.2704, allocations: 376.2 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2704, allocations: 16.02 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.2705, allocations: 11.84 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2706, allocations: 175 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.2706, allocations: 4 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.2707, allocations: 7.984 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.271, allocations: 73.61 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.271, allocations: 0 / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.271, allocations: 0 / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.271, allocations: 4 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.2712, allocations: 55.89 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.272, allocations: 332.7 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.2722, allocations: 70.58 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2724, allocations: 28.97 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.2724, allocations: 4 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.2726, allocations: 79.38 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2727, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004436/0.2731, allocations: 153.5 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.2732, allocations: 51.41 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.2733, allocations: 129.7 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2733, allocations: 29.7 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.2733, allocations: 92.05 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.2734, allocations: 7.844 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.2734, allocations: 8 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.2734, allocations: 318.8 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2736, allocations: 35.97 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2737, allocations: 77.92 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.2738, allocations: 43.98 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2738, allocations: 3.938 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003067/0.2741, allocations: 145.4 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2742, allocations: 5.719 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2742, allocations: 4 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2742, allocations: 224 / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.2743, allocations: 23.98 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2744, allocations: 7.938 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.019e-05/0.2744, allocations: 19.84 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2745, allocations: 4 kB / 0.9837 GB, free: 23.22 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.937e-05/0.2746, allocations: 119.4 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.2746, allocations: 7.906 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.2746, allocations: 8.375 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2746, allocations: 7.984 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2746, allocations: 0 / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2746, allocations: 7.922 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.2751, allocations: 390.4 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2751, allocations: 0 / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.2752, allocations: 11.98 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2752, allocations: 0 / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2752, allocations: 4 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2752, allocations: 0 / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2752, allocations: 7.953 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.2755, allocations: 211.7 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.2755, allocations: 85.02 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2755, allocations: 0 / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.2756, allocations: 15.98 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.2757, allocations: 11.94 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2757, allocations: 4 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.2757, allocations: 95.2 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2758, allocations: 0 / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002398/0.276, allocations: 16 kB / 0.9846 GB, free: 22.14 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.000156/0.2762, allocations: 107.2 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.2764, allocations: 91.94 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2765, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2766, allocations: 48.34 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.2768, allocations: 8 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.2772, allocations: 169.4 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2773, allocations: 0.6887 MB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.2774, allocations: 11.78 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.2774, allocations: 11.44 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.2774, allocations: 0 / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.003232/0.2806, allocations: 0.843 MB / 0.9866 GB, free: 20.15 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)