Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002134/0.002135, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.632/1.632, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.852/1.852, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001368/0.001368, allocations: 70.47 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3194, allocations: 114.5 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002633/0.3221, allocations: 0.8088 MB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3236, allocations: 1.079 MB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.3236, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.3237, allocations: 7.922 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.3238, allocations: 3.938 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.3242, allocations: 55.02 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.3243, allocations: 67.78 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3244, allocations: 16.19 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.3245, allocations: 35.91 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.3246, allocations: 31.84 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3246, allocations: 4 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.3247, allocations: 23.92 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.3247, allocations: 15.97 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.3248, allocations: 35.8 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3249, allocations: 80.03 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.325, allocations: 3.938 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.325, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.325, allocations: 0 / 0.7851 GB, free: 11.58 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.0006174/0.3256, allocations: 383.2 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3256, allocations: 12.03 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3257, allocations: 8.844 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3259, allocations: 172.2 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3259, allocations: 384 / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3259, allocations: 8.375 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3261, allocations: 70.16 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3261, allocations: 3.938 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3262, allocations: 4 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3262, allocations: 4 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.3264, allocations: 43.95 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.3271, allocations: 324.7 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3273, allocations: 58.59 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3274, allocations: 32.95 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3275, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.3277, allocations: 79.36 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3278, allocations: 4 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004352/0.3282, allocations: 133.5 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3283, allocations: 55.41 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3284, allocations: 117.8 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3284, allocations: 29.7 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.3285, allocations: 92.12 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3285, allocations: 19.67 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.3286, allocations: 37.7 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3287, allocations: 322.8 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3288, allocations: 23.98 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.329, allocations: 70.42 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3292, allocations: 117.8 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3292, allocations: 0 / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003041/0.3295, allocations: 137.3 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3296, allocations: 6.656 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3296, allocations: 4 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3296, allocations: 224 / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.3297, allocations: 23.92 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3298, allocations: 4.312 kB / 0.7874 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.3298, allocations: 15.89 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.3299, allocations: 4 kB / 0.7874 GB, free: 8.945 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 0.0001077/0.33, allocations: 122.4 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.33, allocations: 0 / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.33, allocations: 12.38 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3301, allocations: 4 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3301, allocations: 7.922 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3301, allocations: 0 / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.3306, allocations: 374.3 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3306, allocations: 0 / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3307, allocations: 7.984 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3307, allocations: 7.938 kB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3307, allocations: 4 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3307, allocations: 3.938 kB / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3307, allocations: 0 / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.331, allocations: 203.4 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.331, allocations: 85.05 kB / 0.7882 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3311, allocations: 0 / 0.7882 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.3311, allocations: 15.92 kB / 0.7882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3312, allocations: 11.98 kB / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3312, allocations: 0 / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.3313, allocations: 103.4 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3313, allocations: 0 / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002543/0.3315, allocations: 15.91 kB / 0.7883 GB, free: 7.887 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.0001741/0.3317, allocations: 107.2 kB / 0.7884 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.332, allocations: 83.88 kB / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.332, allocations: 0 / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3321, allocations: 31.97 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.3324, allocations: 12 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.3328, allocations: 186.5 kB / 0.7887 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.333, allocations: 0.6885 MB / 0.7894 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.3331, allocations: 4 kB / 0.7894 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.3331, allocations: 19.36 kB / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3331, allocations: 0 / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of Templates: time 0.003401/0.3365, allocations: 0.8989 MB / 0.7903 GB, free: 5.84 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)