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.001319/0.001318, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008735/0.008735, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.667/1.667, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.801/1.801, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005847/0.0005848, allocations: 27.75 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3161, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001151/0.3173, allocations: 493.1 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3189, allocations: 1.064 MB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.319, allocations: 0 / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.319, allocations: 3.938 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.3191, allocations: 7.922 kB / 0.7894 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.3194, allocations: 47.89 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.3196, allocations: 67.78 kB / 0.7895 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3197, allocations: 12.19 kB / 0.7895 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.871e-05/0.3198, allocations: 23.92 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.3199, allocations: 35.83 kB / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3199, allocations: 4 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.32, allocations: 11.98 kB / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.32, allocations: 15.92 kB / 0.7896 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.3201, allocations: 61.5 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3202, allocations: 76 kB / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3203, allocations: 0 / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3203, allocations: 0 / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3203, allocations: 0 / 0.7898 GB, free: 9.598 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.0005761/0.3209, allocations: 367.3 kB / 0.7901 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3209, allocations: 16.02 kB / 0.7901 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.321, allocations: 8.844 kB / 0.7901 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3211, allocations: 172.3 kB / 0.7903 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3211, allocations: 4.375 kB / 0.7903 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3212, allocations: 4.375 kB / 0.7903 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3214, allocations: 74.16 kB / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3214, allocations: 3.938 kB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3214, allocations: 4 kB / 0.7904 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3215, allocations: 0 / 0.7904 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.3217, allocations: 63.89 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.3224, allocations: 332.6 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3226, allocations: 62.55 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3227, allocations: 44.89 kB / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3227, allocations: 0 / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.3229, allocations: 79.38 kB / 0.7909 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.3229, allocations: 0 / 0.7909 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004996/0.3235, allocations: 149.6 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3235, allocations: 59.39 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3237, allocations: 117.8 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3237, allocations: 37.7 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3238, allocations: 92.03 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3238, allocations: 19.75 kB / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3238, allocations: 13.72 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3239, allocations: 326.8 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3241, allocations: 35.97 kB / 0.7918 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3242, allocations: 77.98 kB / 0.7918 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3245, allocations: 121.8 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3245, allocations: 4 kB / 0.792 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003238/0.3248, allocations: 141.4 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3249, allocations: 4.219 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3249, allocations: 4 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3249, allocations: 4 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.325, allocations: 27.92 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.3251, allocations: 3.984 kB / 0.7921 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.79e-05/0.3252, allocations: 8 kB / 0.7921 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3252, allocations: 4 kB / 0.7921 GB, free: 6.895 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.0001028/0.3253, allocations: 133.7 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.3253, allocations: 3.906 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.3254, allocations: 12.38 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3254, allocations: 3.938 kB / 0.7923 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3254, allocations: 0 / 0.7923 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3254, allocations: 0 / 0.7923 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.3259, allocations: 390.3 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3259, allocations: 0 / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.326, allocations: 15.92 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.326, allocations: 4 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.326, allocations: 4 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.326, allocations: 3.938 kB / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.326, allocations: 0 / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3263, allocations: 211.5 kB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.3264, allocations: 84.95 kB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3264, allocations: 4 kB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.3265, allocations: 15.92 kB / 0.793 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.3266, allocations: 8 kB / 0.793 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3266, allocations: 0 / 0.793 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.924e-05/0.3267, allocations: 95.27 kB / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3267, allocations: 0 / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002711/0.327, allocations: 12 kB / 0.7931 GB, free: 5.812 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.0002179/0.3272, allocations: 111.2 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.3275, allocations: 87.89 kB / 0.7933 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3275, allocations: 0 / 0.7933 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3276, allocations: 40.41 kB / 0.7933 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3279, allocations: 15.98 kB / 0.7933 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.3284, allocations: 181.8 kB / 0.7935 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3286, allocations: 0.695 MB / 0.7942 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.23e-05/0.3287, allocations: 8 kB / 0.7942 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.3287, allocations: 15.42 kB / 0.7942 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.3287, allocations: 0 / 0.7942 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of Templates: time 0.003877/0.3326, allocations: 0.8599 MB / 0.7951 GB, free: 3.754 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: