Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009132/0.0009131, allocations: 188 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.5785 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 91.88 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004116, allocations: 11.81 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2113, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.3642, allocations: 131.8 MB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3645, allocations: 71.95 kB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002514/0.367, allocations: 0.9631 MB / 1.031 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.367, allocations: 3.938 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.367, allocations: 0 / 1.031 GB, free: 10.98 MB / 0.6823 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.0004787/0.3675, allocations: 375.3 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3676, allocations: 8.031 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.3676, allocations: 8.844 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3677, allocations: 172.3 kB / 1.032 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3678, allocations: 384 / 1.032 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3678, allocations: 8.375 kB / 1.032 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.368, allocations: 82.14 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.368, allocations: 4.125 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.368, allocations: 3.938 kB / 1.032 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.368, allocations: 0 / 1.032 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.3682, allocations: 63.94 kB / 1.032 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.3687, allocations: 308.7 kB / 1.032 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.3691, allocations: 122.4 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.3692, allocations: 37.02 kB / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3692, allocations: 0 / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.3695, allocations: 87.38 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3695, allocations: 0 / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004127/0.3699, allocations: 145.5 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.37, allocations: 59.41 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.3701, allocations: 113.8 kB / 1.033 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3701, allocations: 29.69 kB / 1.033 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.3702, allocations: 88.14 kB / 1.033 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.3702, allocations: 15.81 kB / 1.033 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.3702, allocations: 0 / 1.033 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3703, allocations: 322.8 kB / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3704, allocations: 35.98 kB / 1.033 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3706, allocations: 59.41 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3708, allocations: 95.33 kB / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3708, allocations: 0 / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002611/0.371, allocations: 125.4 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3711, allocations: 7.984 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3711, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3711, allocations: 4 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.3712, allocations: 20.48 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3712, allocations: 8.078 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.3713, allocations: 19.98 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.3713, allocations: 4 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001003/0.3714, allocations: 128.1 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.3714, allocations: 7.906 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.3715, allocations: 12.31 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3715, allocations: 0 / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3715, allocations: 4 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3715, allocations: 0 / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.372, allocations: 370.5 kB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.372, allocations: 0 / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.3721, allocations: 19.98 kB / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3721, allocations: 0 / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3721, allocations: 7.938 kB / 1.034 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3721, allocations: 0 / 1.034 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3721, allocations: 3.938 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3724, allocations: 207.4 kB / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.3724, allocations: 85.08 kB / 1.034 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3725, allocations: 4 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3726, allocations: 11.98 kB / 1.034 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.3726, allocations: 11.92 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3726, allocations: 12 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.3727, allocations: 91.27 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3727, allocations: 0 / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002087/0.3729, allocations: 12 kB / 1.034 GB, free: 7.285 MB / 0.6823 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * 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 (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.0001259/0.373, allocations: 103.2 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3733, allocations: 89.61 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3733, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3734, allocations: 35.92 kB / 1.035 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3737, allocations: 20.17 kB / 1.035 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.3741, allocations: 166.6 kB / 1.035 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3743, allocations: 0.6887 MB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.3744, allocations: 11.84 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.3744, allocations: 15.44 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3744, allocations: 0 / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of Templates: time 0.002596/0.377, allocations: 0.7386 MB / 1.036 GB, free: 5.371 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)