Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.01183/0.01183, allocations: 170 kB / 16.27 MB, free: 6.652 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.705/1.705, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.774/1.774, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0008528/0.0008527, allocations: 15.44 kB / 0.6743 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.339, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001297/0.3404, allocations: 0.4901 MB / 0.7884 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3421, allocations: 1.146 MB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.3421, allocations: 0 / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.3422, allocations: 7.922 kB / 0.7895 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.3422, allocations: 3.938 kB / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.3427, allocations: 127 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3429, allocations: 107.8 kB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.343, allocations: 19.98 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.3431, allocations: 39.91 kB / 0.7898 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.3432, allocations: 35.83 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3432, allocations: 8 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.3433, allocations: 23.91 kB / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.3433, allocations: 15.92 kB / 0.7899 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.449e-05/0.3434, allocations: 61.56 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3436, allocations: 95.72 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3436, allocations: 7.938 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3436, allocations: 0 / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3436, allocations: 0 / 0.79 GB, free: 9.414 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006441/0.3443, allocations: 409.2 kB / 0.7904 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3443, allocations: 12.03 kB / 0.7904 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.3444, allocations: 8.844 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3445, allocations: 172.4 kB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3446, allocations: 4.375 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.3446, allocations: 12.38 kB / 0.7906 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3448, allocations: 70.22 kB / 0.7907 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3448, allocations: 4.125 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3449, allocations: 3.938 kB / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3449, allocations: 4 kB / 0.7907 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3451, allocations: 55.95 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.3457, allocations: 340.6 kB / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3459, allocations: 70.55 kB / 0.7911 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.346, allocations: 36.95 kB / 0.7912 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.346, allocations: 4 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.3463, allocations: 95.42 kB / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.3463, allocations: 0 / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005149/0.3468, allocations: 157.5 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.3469, allocations: 59.41 kB / 0.7915 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.347, allocations: 117.8 kB / 0.7916 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.347, allocations: 33.7 kB / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.3471, allocations: 96.03 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3472, allocations: 19.8 kB / 0.7917 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.3472, allocations: 21.7 kB / 0.7917 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3474, allocations: 322.8 kB / 0.7921 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3475, allocations: 59.89 kB / 0.7921 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.3477, allocations: 92.25 kB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.3481, allocations: 149.9 kB / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3481, allocations: 0 / 0.7923 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004785/0.3485, allocations: 223.4 kB / 0.7926 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.3486, allocations: 41.69 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3486, allocations: 0 / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3486, allocations: 4 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/0.3487, allocations: 15.92 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.3488, allocations: 7.984 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.349, allocations: 48.03 kB / 0.7927 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3491, allocations: 11.98 kB / 0.7927 GB, free: 6.406 MB / 0.6075 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3492, allocations: 126.4 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.3492, allocations: 7.906 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.3492, allocations: 8.375 kB / 0.7928 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3492, allocations: 4 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3493, allocations: 3.984 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3493, allocations: 3.938 kB / 0.7928 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.3498, allocations: 390.4 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3498, allocations: 3.984 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.3499, allocations: 8 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3499, allocations: 0 / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3499, allocations: 3.984 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3499, allocations: 0 / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3499, allocations: 0 / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.3502, allocations: 227.3 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.3503, allocations: 85.02 kB / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3503, allocations: 0 / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.3504, allocations: 19.98 kB / 0.7935 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.3505, allocations: 7.938 kB / 0.7935 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3505, allocations: 3.984 kB / 0.7935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.3506, allocations: 91.22 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3506, allocations: 0 / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000261/0.3508, allocations: 27.98 kB / 0.7937 GB, free: 5.305 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: 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 (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.0002462/0.3511, allocations: 103.2 kB / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004475/0.3515, allocations: 191.2 kB / 0.7939 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3516, allocations: 0 / 0.7939 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3517, allocations: 52.16 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.352, allocations: 8 kB / 0.794 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.3524, allocations: 183.3 kB / 0.7942 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3528, allocations: 0.6926 MB / 0.7948 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.52e-05/0.3528, allocations: 4 kB / 0.7948 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.3529, allocations: 11.44 kB / 0.7949 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.3529, allocations: 0 / 0.7949 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.004319/0.3572, allocations: 1.335 MB / 0.7962 GB, free: 2.676 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) Environment - environmentSimulation: