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.001383/0.001383, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.642/1.642, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.763/1.763, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001575/0.001575, allocations: 75.89 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3243, allocations: 114.5 MB / 0.7834 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002144/0.3266, allocations: 0.7595 MB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.328, allocations: 1.071 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.3281, allocations: 3.938 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.3281, allocations: 3.938 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.3282, allocations: 15.86 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.3286, allocations: 51.88 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3288, allocations: 75.72 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3289, allocations: 20.17 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.329, allocations: 27.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.3291, allocations: 35.83 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3291, allocations: 8 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.3292, allocations: 19.98 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.3293, allocations: 11.98 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.3293, allocations: 35.78 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3295, allocations: 80.03 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3295, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3295, allocations: 4 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3295, allocations: 0 / 0.7856 GB, free: 11.18 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.0006288/0.3302, allocations: 379.2 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3302, allocations: 8.031 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.3303, allocations: 8.844 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3305, allocations: 176.2 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3305, allocations: 4.375 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3305, allocations: 4.375 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3308, allocations: 70.22 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3308, allocations: 3.938 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3308, allocations: 11.94 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3308, allocations: 0 / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.331, allocations: 43.89 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.3317, allocations: 324.7 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3319, allocations: 55.66 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.332, allocations: 36.95 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.332, allocations: 0 / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.3322, allocations: 79.38 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3323, allocations: 0 / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004164/0.3327, allocations: 133.5 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3327, allocations: 55.34 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3328, allocations: 117.8 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3329, allocations: 33.69 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3329, allocations: 92.14 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.333, allocations: 19.75 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.333, allocations: 25.7 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3332, allocations: 326.7 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3333, allocations: 27.98 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3335, allocations: 77.97 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.3337, allocations: 109.9 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3337, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003098/0.334, allocations: 129.6 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3341, allocations: 8 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3341, allocations: 4 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3341, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3342, allocations: 19.98 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3342, allocations: 3.938 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.418e-05/0.3343, allocations: 19.89 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3344, allocations: 4 kB / 0.7879 GB, free: 8.551 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.0001017/0.3345, allocations: 118.4 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.3345, allocations: 8 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.3345, allocations: 12.36 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3345, allocations: 3.984 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3345, allocations: 0 / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3345, allocations: 4 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.335, allocations: 378.2 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.335, allocations: 0 / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.3351, allocations: 12 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3351, allocations: 0 / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3351, allocations: 4 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3351, allocations: 7.922 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3351, allocations: 3.938 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3354, allocations: 203.3 kB / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.3355, allocations: 81.11 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3355, allocations: 3.984 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.3356, allocations: 7.938 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.3357, allocations: 15.92 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3357, allocations: 4 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.3358, allocations: 91.92 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3358, allocations: 0 / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002593/0.336, allocations: 15.91 kB / 0.7888 GB, free: 7.496 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.0002077/0.3362, allocations: 111.6 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3365, allocations: 80.28 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3366, allocations: 0 / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3367, allocations: 35.97 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.337, allocations: 22 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.3374, allocations: 166.1 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3377, allocations: 0.6885 MB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.882e-05/0.3378, allocations: 8 kB / 0.7899 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3378, allocations: 15.42 kB / 0.7899 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.605e-06/0.3378, allocations: 0 / 0.7899 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.003687/0.3415, allocations: 0.9711 MB / 0.7908 GB, free: 5.391 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)