Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.000751, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007957/0.0007958, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.605/1.605, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004869/0.0004869, allocations: 16.03 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009098/0.2453, allocations: 478.1 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2466, allocations: 1.126 MB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.2466, allocations: 0 / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.2467, allocations: 0 / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.2467, allocations: 11.88 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.2472, allocations: 115.2 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2473, allocations: 95.75 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.2473, allocations: 23.92 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.2474, allocations: 39.89 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.2475, allocations: 31.91 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2475, allocations: 4 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.2476, allocations: 19.98 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.2476, allocations: 15.92 kB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.2477, allocations: 33.7 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2478, allocations: 75.81 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2478, allocations: 0 / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2478, allocations: 0 / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2478, allocations: 7.938 kB / 0.7893 GB, free: 9.863 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004873/0.2483, allocations: 401.1 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2483, allocations: 12.03 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.2484, allocations: 7.938 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2485, allocations: 170.9 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2485, allocations: 4 kB / 0.7899 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2485, allocations: 11.98 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.2487, allocations: 69.67 kB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2487, allocations: 0 / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2488, allocations: 0 / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2488, allocations: 3.984 kB / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.2489, allocations: 59.94 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.2494, allocations: 336.6 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.2496, allocations: 70.61 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.2497, allocations: 36.95 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.2497, allocations: 0 / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.2499, allocations: 99.3 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2499, allocations: 0 / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003954/0.2503, allocations: 157.6 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.2503, allocations: 55.41 kB / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.2504, allocations: 121.7 kB / 0.7909 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.2505, allocations: 29.7 kB / 0.7909 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.2505, allocations: 96.12 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.2506, allocations: 11.81 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.2506, allocations: 4 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.2507, allocations: 334.7 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2508, allocations: 51.97 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.251, allocations: 88.69 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2511, allocations: 85.67 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2511, allocations: 0 / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003942/0.2515, allocations: 227.1 kB / 0.7917 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.2516, allocations: 37.69 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2516, allocations: 0 / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2516, allocations: 4 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.2517, allocations: 11.98 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2517, allocations: 8.125 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.2519, allocations: 47.91 kB / 0.7918 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.252, allocations: 7.984 kB / 0.7919 GB, free: 6.996 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$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 (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.409e-05/0.252, allocations: 129.7 kB / 0.792 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2521, allocations: 7.906 kB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.2521, allocations: 8.375 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2521, allocations: 4 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2521, allocations: 3.938 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2521, allocations: 3.984 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.2525, allocations: 378.5 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2525, allocations: 4 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.2526, allocations: 15.98 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2526, allocations: 0 / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2526, allocations: 64 / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2526, allocations: 4 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2526, allocations: 4 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.2529, allocations: 227.3 kB / 0.7926 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.253, allocations: 81.02 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.253, allocations: 12 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.2531, allocations: 11.92 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.2531, allocations: 4 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.2531, allocations: 7.984 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.2532, allocations: 91.33 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2532, allocations: 0 / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002469/0.2534, allocations: 27.95 kB / 0.7928 GB, free: 5.891 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (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.0001432/0.2536, allocations: 107.2 kB / 0.7929 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.254, allocations: 183.3 kB / 0.7931 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.254, allocations: 0 / 0.7931 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.2541, allocations: 48.69 kB / 0.7932 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2544, allocations: 15.23 kB / 0.7932 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.2547, allocations: 179.2 kB / 0.7933 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.255, allocations: 0.6965 MB / 0.794 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.255, allocations: 4 kB / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.255, allocations: 11.44 kB / 0.794 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.255, allocations: 0 / 0.794 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of Templates: time 0.003495/0.2585, allocations: 1.273 MB / 0.7953 GB, free: 3.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: