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.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.0012/0.001199, allocations: 189.3 kB / 372 MB, free: 10.25 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.735/1.735, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008757/0.0008755, allocations: 105.1 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004457, allocations: 17.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2769, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001051/0.278, allocations: 465.8 kB / 0.9801 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2795, allocations: 1.056 MB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.2796, allocations: 0 / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.2796, allocations: 3.938 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.704e-05/0.2798, allocations: 7.922 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.2802, allocations: 43.89 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2803, allocations: 67.84 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2804, allocations: 8.172 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.538e-05/0.2805, allocations: 27.86 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.2806, allocations: 27.91 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2806, allocations: 4 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.2807, allocations: 11.98 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.2807, allocations: 19.91 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.2808, allocations: 33.7 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2809, allocations: 55.83 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2809, allocations: 0 / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2809, allocations: 0 / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2809, allocations: 0 / 0.9814 GB, free: 25.78 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.0005757/0.2815, allocations: 375.3 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2816, allocations: 11.97 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.2816, allocations: 7.906 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2818, allocations: 179 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2818, allocations: 12 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2818, allocations: 4 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.282, allocations: 69.66 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2821, allocations: 0 / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2821, allocations: 7.938 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2821, allocations: 0 / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.2823, allocations: 59.95 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.2829, allocations: 324.7 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2831, allocations: 62.59 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2832, allocations: 40.95 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2832, allocations: 0 / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.2835, allocations: 79.38 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.2835, allocations: 0 / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004306/0.2839, allocations: 153.5 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.284, allocations: 55.41 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.284, allocations: 117.8 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2841, allocations: 37.69 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2841, allocations: 92.05 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2841, allocations: 15.84 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.2842, allocations: 0 / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.2842, allocations: 322.8 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.2843, allocations: 31.97 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2845, allocations: 81.92 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2846, allocations: 43.92 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2846, allocations: 0 / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003051/0.2849, allocations: 145.6 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.285, allocations: 7.984 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.285, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.285, allocations: 7.938 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2851, allocations: 23.97 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2851, allocations: 3.938 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.2852, allocations: 23.84 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2852, allocations: 8.062 kB / 0.9837 GB, free: 23.18 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 8.55e-05/0.2853, allocations: 119.7 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.2854, allocations: 7.906 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.2854, allocations: 8.375 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2854, allocations: 0 / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2854, allocations: 0 / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2854, allocations: 3.984 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.2858, allocations: 386.7 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2858, allocations: 0 / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.2859, allocations: 11.98 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2859, allocations: 4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2859, allocations: 4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2859, allocations: 0 / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2859, allocations: 3.953 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.2862, allocations: 219.4 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.2863, allocations: 85.02 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2863, allocations: 4 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.2864, allocations: 11.98 kB / 0.9845 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.2864, allocations: 11.94 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2864, allocations: 0 / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.2865, allocations: 91.27 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.172e-06/0.2865, allocations: 4 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002311/0.2867, allocations: 19.94 kB / 0.9846 GB, free: 22.11 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.0001605/0.2869, allocations: 108.2 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.2872, allocations: 88.12 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2872, allocations: 8.125 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2873, allocations: 35.98 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2876, allocations: 13.48 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.2879, allocations: 169.4 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2881, allocations: 0.6887 MB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.2881, allocations: 7.781 kB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.2881, allocations: 11.44 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.2881, allocations: 0 / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.003242/0.2914, allocations: 0.8398 MB / 0.9866 GB, free: 20.1 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)