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.714/2.714, allocations: 287.5 MB / 303.2 MB, free: 8.32 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.001261/0.001261, allocations: 188.3 kB / 371.8 MB, free: 10.83 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.026/2.026, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009049/0.0009048, allocations: 88.48 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005009, allocations: 17.02 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2236, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9332/1.157, allocations: 138.2 MB / 1.114 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.157, allocations: 76.52 kB / 1.114 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009889/1.167, allocations: 2.121 MB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/1.167, allocations: 0 / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.197e-06/1.167, allocations: 7.906 kB / 1.116 GB, free: 31.43 MB / 0.698 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.000654/1.168, allocations: 402.2 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.168, allocations: 7.719 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/1.168, allocations: 8.688 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.168, allocations: 175.9 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/1.168, allocations: 7.094 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/1.168, allocations: 8.25 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/1.168, allocations: 79.91 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.169, allocations: 192 / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.169, allocations: 7.875 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.169, allocations: 3.688 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/1.169, allocations: 53.56 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/1.169, allocations: 330.2 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/1.17, allocations: 69.45 kB / 1.118 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/1.17, allocations: 33.58 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/1.17, allocations: 3.812 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/1.17, allocations: 107 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.875e-06/1.17, allocations: 3.938 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006775/1.171, allocations: 154.3 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.171, allocations: 51.41 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/1.171, allocations: 122.1 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/1.171, allocations: 35.92 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/1.171, allocations: 87.61 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/1.171, allocations: 18.11 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/1.171, allocations: 3.844 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.172, allocations: 325.1 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/1.172, allocations: 58.81 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/1.172, allocations: 87.47 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/1.173, allocations: 159.8 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.173, allocations: 0 / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006818/1.173, allocations: 215.4 kB / 1.119 GB, free: 29.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/1.173, allocations: 33.48 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.173, allocations: 7.844 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/1.173, allocations: 0 / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/1.174, allocations: 23.72 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.174, allocations: 0 / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/1.174, allocations: 58.08 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/1.174, allocations: 3.875 kB / 1.119 GB, free: 29.52 MB / 0.698 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.0001449/1.174, allocations: 130.9 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/1.174, allocations: 7.781 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/1.174, allocations: 8.312 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.174, allocations: 3.812 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.174, allocations: 0 / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.174, allocations: 4 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/1.175, allocations: 387.3 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.175, allocations: 0 / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/1.175, allocations: 14.95 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.175, allocations: 0 / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/1.175, allocations: 3.719 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.175, allocations: 0 / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.175, allocations: 2.719 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/1.176, allocations: 231.6 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/1.176, allocations: 84.8 kB / 1.12 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/1.176, allocations: 3 kB / 1.12 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.176, allocations: 11.25 kB / 1.12 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/1.176, allocations: 7.125 kB / 1.12 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/1.176, allocations: 6.5 kB / 1.12 GB, free: 28.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.038e-05/1.176, allocations: 93.73 kB / 1.12 GB, free: 28.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.176, allocations: 0 / 1.12 GB, free: 28.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000404/1.176, allocations: 34.94 kB / 1.12 GB, free: 28.75 MB / 0.698 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.0002032/1.177, allocations: 113.1 kB / 1.12 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005778/1.177, allocations: 187.1 kB / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.177, allocations: 0 / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/1.177, allocations: 48.75 kB / 1.12 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/1.178, allocations: 14.31 kB / 1.12 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/1.178, allocations: 176.9 kB / 1.121 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.179, allocations: 0.6895 MB / 1.121 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.338e-05/1.179, allocations: 3.938 kB / 1.121 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/1.179, allocations: 11.31 kB / 1.121 GB, free: 27.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.179, allocations: 4 kB / 1.121 GB, free: 27.73 MB / 0.698 GB Notification: Performance of Templates: time 0.005019/1.184, allocations: 1.288 MB / 1.123 GB, free: 27.62 MB / 0.698 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)