Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002068/0.002068, allocations: 195.1 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.53 kB / 0.6708 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.283, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00217/0.2852, allocations: 0.8243 MB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2867, allocations: 1.072 MB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.2867, allocations: 3.938 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.2868, allocations: 4 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.2869, allocations: 3.938 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.2871, allocations: 47.89 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2873, allocations: 67.78 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2874, allocations: 12.19 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.2874, allocations: 31.84 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.2875, allocations: 31.84 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.2875, allocations: 4 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.2876, allocations: 23.98 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.2876, allocations: 11.92 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.2877, allocations: 35.84 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2878, allocations: 72.03 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2878, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2878, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.2879, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 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.0005463/0.2884, allocations: 383.2 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2884, allocations: 8.031 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.2885, allocations: 12.84 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2886, allocations: 176.2 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2887, allocations: 4.375 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2887, allocations: 4.375 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.2889, allocations: 74.09 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2889, allocations: 3.938 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2889, allocations: 4 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2889, allocations: 4 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.2891, allocations: 47.95 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.2898, allocations: 320.6 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.29, allocations: 50.56 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2901, allocations: 36.95 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2901, allocations: 0 / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.2903, allocations: 83.39 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2904, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004126/0.2908, allocations: 137.5 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2908, allocations: 51.41 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.2909, allocations: 121.8 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.291, allocations: 33.69 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.291, allocations: 92.05 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.291, allocations: 15.84 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.2911, allocations: 29.7 kB / 0.7865 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2912, allocations: 322.8 kB / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.2913, allocations: 27.98 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2915, allocations: 77.91 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2917, allocations: 105.9 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2917, allocations: 0 / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003162/0.2921, allocations: 137.3 kB / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2921, allocations: 4 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2921, allocations: 4 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2921, allocations: 0 / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2923, allocations: 19.98 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2923, allocations: 4.219 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.2924, allocations: 15.89 kB / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2924, allocations: 8 kB / 0.7872 GB, free: 9.094 MB / 0.6075 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 9.552e-05/0.2925, allocations: 125.7 kB / 0.7873 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.2925, allocations: 4 kB / 0.7873 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.2925, allocations: 12.36 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2925, allocations: 0 / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.2926, allocations: 4 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2926, allocations: 4 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.293, allocations: 382.2 kB / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2931, allocations: 3.938 kB / 0.7877 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.2931, allocations: 15.94 kB / 0.7877 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2931, allocations: 0 / 0.7877 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2931, allocations: 0 / 0.7877 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2931, allocations: 7.922 kB / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2931, allocations: 0 / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2934, allocations: 203.4 kB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.2935, allocations: 81.02 kB / 0.788 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2935, allocations: 3.984 kB / 0.788 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.2936, allocations: 7.938 kB / 0.788 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.2937, allocations: 15.92 kB / 0.788 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2937, allocations: 8 kB / 0.788 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.2937, allocations: 91.27 kB / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2937, allocations: 0 / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002585/0.294, allocations: 12 kB / 0.7881 GB, free: 8.031 MB / 0.6075 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.0001341/0.2941, allocations: 103.2 kB / 0.7882 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.2944, allocations: 84.25 kB / 0.7883 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2945, allocations: 0 / 0.7883 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.2946, allocations: 35.91 kB / 0.7883 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.2949, allocations: 8 kB / 0.7883 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.2953, allocations: 179.1 kB / 0.7885 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2956, allocations: 0.6926 MB / 0.7892 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.2956, allocations: 4 kB / 0.7892 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2957, allocations: 15.42 kB / 0.7892 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2957, allocations: 0 / 0.7892 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.003093/0.2988, allocations: 0.8732 MB / 0.7901 GB, free: 5.996 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)