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/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 293 MB / 309 MB, free: 4.812 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.001539/0.001539, allocations: 164.2 kB / 378.7 MB, free: 1.039 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.616/1.616, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0008627/0.0008628, allocations: 88.36 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004428, allocations: 15.98 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2645, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7422/1.007, allocations: 139.4 MB / 1.127 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.007, allocations: 77.59 kB / 1.127 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005602/1.013, allocations: 2.097 MB / 1.129 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/1.013, allocations: 8 kB / 1.129 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.251e-06/1.013, allocations: 0 / 1.129 GB, free: 32.92 MB / 0.7292 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.0004537/1.013, allocations: 400.3 kB / 1.129 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/1.013, allocations: 12.03 kB / 1.129 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/1.013, allocations: 8.844 kB / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/1.013, allocations: 180.8 kB / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1.013, allocations: 7.797 kB / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/1.013, allocations: 12.38 kB / 1.129 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/1.014, allocations: 69.75 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.014, allocations: 192 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.014, allocations: 3.938 kB / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.014, allocations: 0 / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/1.014, allocations: 50.31 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/1.014, allocations: 334.3 kB / 1.13 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/1.015, allocations: 70.59 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/1.015, allocations: 39.64 kB / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/1.015, allocations: 0.5625 kB / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/1.015, allocations: 100 kB / 1.13 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/1.015, allocations: 0 / 1.13 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003798/1.015, allocations: 153.5 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/1.015, allocations: 59.39 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/1.015, allocations: 120.3 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.015, allocations: 34.36 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/1.016, allocations: 88.14 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/1.016, allocations: 11.19 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/1.016, allocations: 12 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/1.016, allocations: 318.3 kB / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/1.016, allocations: 54.12 kB / 1.131 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.016, allocations: 94.22 kB / 1.131 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/1.016, allocations: 157.1 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.016, allocations: 0 / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003556/1.017, allocations: 219.3 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/1.017, allocations: 37.64 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.017, allocations: 4.484 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.017, allocations: 7.938 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/1.017, allocations: 15.89 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.017, allocations: 0 / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/1.017, allocations: 54.28 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/1.017, allocations: 8.5 kB / 1.131 GB, free: 30.19 MB / 0.7292 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 7.849e-05/1.017, allocations: 129.1 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/1.017, allocations: 8.562 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/1.017, allocations: 9.219 kB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.017, allocations: 4 kB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.017, allocations: 4 kB / 1.132 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.017, allocations: 0.625 kB / 1.132 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/1.017, allocations: 382 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.017, allocations: 8 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/1.018, allocations: 16.34 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.018, allocations: 0.5625 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/1.018, allocations: 0 / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.018, allocations: 3.984 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.018, allocations: 0 / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/1.018, allocations: 223.4 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/1.018, allocations: 81.02 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/1.018, allocations: 11.42 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/1.018, allocations: 4 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/1.018, allocations: 8.359 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/1.018, allocations: 15.41 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.262e-05/1.018, allocations: 87.28 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.018, allocations: 0 / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002475/1.018, allocations: 31.38 kB / 1.132 GB, free: 29.16 MB / 0.7292 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.0001629/1.018, allocations: 126.3 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003228/1.019, allocations: 185.3 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.019, allocations: 0 / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/1.019, allocations: 46.98 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/1.019, allocations: 16.66 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/1.02, allocations: 170.5 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/1.02, allocations: 0.6877 MB / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.547e-05/1.02, allocations: 12.5 kB / 1.134 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/1.02, allocations: 11.44 kB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/1.02, allocations: 0 / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.003384/1.023, allocations: 1.28 MB / 1.135 GB, free: 27.2 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (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)