Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.568/1.568, allocations: 285.4 MB / 298 MB, free: 5.98 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.001371/0.001371, allocations: 180.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 93.06 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.703e-05, allocations: 12 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7708, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.9511, allocations: 138.3 MB / 1.106 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.9514, allocations: 71.95 kB / 1.106 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006377/0.9578, allocations: 2.101 MB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9578, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.9578, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 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.0005099/0.9583, allocations: 400.7 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9584, allocations: 8.75 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.9584, allocations: 7.906 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.9586, allocations: 180.7 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.9586, allocations: 4 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.9586, allocations: 13 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.9588, allocations: 49.69 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.9588, allocations: 0.875 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.9588, allocations: 0 / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.9588, allocations: 7.469 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.9589, allocations: 29.8 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.9594, allocations: 328.8 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.9595, allocations: 49.55 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.9596, allocations: 20.92 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.9596, allocations: 0 / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.9598, allocations: 91.72 kB / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.9598, allocations: 0 / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002341/0.96, allocations: 85.69 kB / 1.109 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.9601, allocations: 51.41 kB / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.9602, allocations: 123 kB / 1.109 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.9602, allocations: 29.7 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.9603, allocations: 88.14 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.9604, allocations: 23.78 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.9604, allocations: 0 / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9605, allocations: 322.8 kB / 1.11 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.9606, allocations: 44 kB / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.9607, allocations: 72.28 kB / 1.11 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.348e-05/0.9608, allocations: 57.69 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9608, allocations: 0 / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003037/0.9612, allocations: 191.1 kB / 1.11 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.9612, allocations: 36.52 kB / 1.11 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.9612, allocations: 0 / 1.11 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9612, allocations: 4 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.9613, allocations: 11.98 kB / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.9614, allocations: 7.938 kB / 1.11 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.9616, allocations: 52.08 kB / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.9616, allocations: 7.953 kB / 1.11 GB, free: 8.797 MB / 0.7136 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 () * 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 8.18e-05/0.9617, allocations: 118.5 kB / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.9617, allocations: 7.906 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.9618, allocations: 16.61 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9618, allocations: 0 / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9618, allocations: 0 / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.9618, allocations: 0 / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.9621, allocations: 361.2 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9621, allocations: 0 / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.9622, allocations: 11.98 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9622, allocations: 0 / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.9622, allocations: 5.812 kB / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9622, allocations: 4 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9622, allocations: 3.984 kB / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.9624, allocations: 183.3 kB / 1.111 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.9625, allocations: 89 kB / 1.111 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.9625, allocations: 3.984 kB / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.9626, allocations: 8 kB / 1.111 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.9626, allocations: 11.98 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.9626, allocations: 4 kB / 1.111 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.9627, allocations: 98.06 kB / 1.111 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9627, allocations: 0 / 1.111 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000237/0.963, allocations: 32 kB / 1.111 GB, free: 7.77 MB / 0.7136 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) * 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.0001714/0.9631, allocations: 117.1 kB / 1.111 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.9634, allocations: 157.2 kB / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9634, allocations: 0 / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.9635, allocations: 27.94 kB / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.9636, allocations: 8 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.9639, allocations: 107.6 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.9642, allocations: 0.6887 MB / 1.112 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.684e-05/0.9643, allocations: 12.11 kB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.9643, allocations: 11.44 kB / 1.112 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.9643, allocations: 0 / 1.112 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of Templates: time 0.003593/0.9679, allocations: 1.268 MB / 1.114 GB, free: 5.375 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)