Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.585/1.585, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009564/0.0009563, allocations: 175.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 0.6626 GB, free: 4.195 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 93.34 kB / 0.7808 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004133, allocations: 16.62 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6495/0.65, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.8389, allocations: 141.6 MB / 1.165 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.8391, allocations: 71.06 kB / 1.165 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005938/0.8451, allocations: 2.112 MB / 1.167 GB, free: 360 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8451, allocations: 4 kB / 1.167 GB, free: 356 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8451, allocations: 0.625 kB / 1.167 GB, free: 356 kB / 0.7292 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.0004805/0.8456, allocations: 409.9 kB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.8457, allocations: 12.03 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.8457, allocations: 10.39 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.8459, allocations: 178.9 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.8459, allocations: 8.984 kB / 1.167 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.8459, allocations: 4.375 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.8461, allocations: 71.16 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8462, allocations: 0.8906 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.8462, allocations: 10.5 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8462, allocations: 0.5156 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.8464, allocations: 52.22 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.8469, allocations: 342.5 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.8471, allocations: 62.66 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.8472, allocations: 37.03 kB / 1.168 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.8472, allocations: 0.5312 kB / 1.168 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.8475, allocations: 101.5 kB / 1.168 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.8475, allocations: 2.344 kB / 1.168 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000439/0.8479, allocations: 153.9 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.848, allocations: 52.58 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.8481, allocations: 125.5 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.8481, allocations: 30.39 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.8482, allocations: 94.3 kB / 1.168 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.8482, allocations: 14.58 kB / 1.168 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.8482, allocations: 8 kB / 1.168 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.8483, allocations: 329.4 kB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.8485, allocations: 57.16 kB / 1.169 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.8487, allocations: 89.98 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.849, allocations: 152.7 kB / 1.169 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.849, allocations: 4 kB / 1.169 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004408/0.8494, allocations: 219.2 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.8495, allocations: 35.62 kB / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8495, allocations: 5.953 kB / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8495, allocations: 0 / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.8496, allocations: 19.5 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8496, allocations: 0.7969 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.8499, allocations: 50.72 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.8499, allocations: 9.875 kB / 1.169 GB, free: 13.64 MB / 0.7448 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.0001224/0.85, allocations: 128.5 kB / 1.169 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.85, allocations: 8.516 kB / 1.169 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.8501, allocations: 13.22 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8501, allocations: 0 / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8501, allocations: 0.6562 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8501, allocations: 0 / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.8507, allocations: 391.9 kB / 1.17 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8507, allocations: 5.672 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.8507, allocations: 10.62 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.8507, allocations: 0.6094 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.8508, allocations: 0.6094 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8508, allocations: 4 kB / 1.17 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.8508, allocations: 4.875 kB / 1.17 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.8511, allocations: 219.4 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.8512, allocations: 91.45 kB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.8512, allocations: 0.5156 kB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.8513, allocations: 11.09 kB / 1.17 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.8514, allocations: 6.984 kB / 1.17 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.8514, allocations: 8.516 kB / 1.17 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.8515, allocations: 95.66 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8515, allocations: 3.938 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002736/0.8517, allocations: 29.59 kB / 1.17 GB, free: 12.6 MB / 0.7448 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.0001921/0.8519, allocations: 113.2 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.8524, allocations: 188.5 kB / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8524, allocations: 256 / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.8525, allocations: 42.84 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.8528, allocations: 13.84 kB / 1.171 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.8533, allocations: 184.2 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.8536, allocations: 0.6874 MB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.8536, allocations: 5.922 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.8537, allocations: 11.44 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of SimCode: time 1.984e-06/0.8537, allocations: 0 / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of Templates: time 0.004142/0.8578, allocations: 1.313 MB / 1.173 GB, free: 10.63 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)