Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.775/2.775, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001419/0.001419, allocations: 182 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001024/0.001024, allocations: 101.3 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008248/0.0008255, allocations: 12.83 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2956, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001338/0.297, allocations: 478.3 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.2994, allocations: 1.13 MB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.2996, allocations: 0 / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.2996, allocations: 0 / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.2998, allocations: 7.938 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.3006, allocations: 122.7 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3008, allocations: 99.73 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.301, allocations: 19.91 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3011, allocations: 39.91 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3013, allocations: 31.89 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.3013, allocations: 4 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3015, allocations: 19.98 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3015, allocations: 11.92 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.3016, allocations: 41.7 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.3018, allocations: 79.81 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3018, allocations: 3.938 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.065e-06/0.3018, allocations: 0 / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3018, allocations: 0 / 0.9804 GB, free: 26.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008123/0.3027, allocations: 401.1 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.3027, allocations: 8.031 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.3028, allocations: 12 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.303, allocations: 174.9 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.303, allocations: 4 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.3031, allocations: 12 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.3035, allocations: 69.66 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.3035, allocations: 0 / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.3035, allocations: 0 / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3036, allocations: 0 / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.304, allocations: 63.89 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.3048, allocations: 340.7 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.3052, allocations: 66.55 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.3054, allocations: 32.97 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3054, allocations: 8 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/0.3059, allocations: 91.27 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.917e-06/0.306, allocations: 0 / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008958/0.3069, allocations: 157.7 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3069, allocations: 59.3 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3071, allocations: 125.7 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.3072, allocations: 29.7 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.3073, allocations: 96.12 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.3073, allocations: 15.81 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.3074, allocations: 4 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.3075, allocations: 318.8 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.3078, allocations: 55.97 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.3082, allocations: 93.12 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.3086, allocations: 85.67 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3086, allocations: 4 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009147/0.3096, allocations: 215.1 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.3097, allocations: 41.69 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3097, allocations: 8 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.3097, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3099, allocations: 12 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.31, allocations: 11.88 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.3105, allocations: 53.92 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.3106, allocations: 15.98 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001485/0.3108, allocations: 120.1 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.3108, allocations: 4 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.3109, allocations: 8.375 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3109, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3109, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3109, allocations: 7.938 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.312, allocations: 390.5 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.312, allocations: 0 / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.3122, allocations: 11.98 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.058e-06/0.3122, allocations: 8 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.3123, allocations: 4 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.3123, allocations: 3.953 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3123, allocations: 3.984 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.313, allocations: 227.7 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3131, allocations: 81.09 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.3132, allocations: 4 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3134, allocations: 11.98 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.3135, allocations: 7.953 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.3135, allocations: 7.984 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.777e-05/0.3136, allocations: 87.28 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.3137, allocations: 4 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006448/0.3143, allocations: 27.98 kB / 0.9839 GB, free: 22.29 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002378/0.3146, allocations: 99.25 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009907/0.3156, allocations: 187.3 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3156, allocations: 0 / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.316, allocations: 47.91 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.3166, allocations: 18.28 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.3173, allocations: 184.6 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3175, allocations: 0.6887 MB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.113e-05/0.3176, allocations: 4 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.3177, allocations: 11.44 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.3177, allocations: 4 kB / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.007428/0.3252, allocations: 1.275 MB / 0.9864 GB, free: 19.73 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)