Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 285.4 MB / 298 MB, free: 5.992 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.001303/0.001304, allocations: 172.9 kB / 366.4 MB, free: 2.078 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.763/1.763, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0007903/0.0007903, allocations: 91.58 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.152e-05, allocations: 4 kB / 0.8583 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6618, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.8668, allocations: 138.3 MB / 1.106 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.8672, allocations: 67.95 kB / 1.106 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008455/0.8757, allocations: 2.09 MB / 1.108 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8757, allocations: 0 / 1.108 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.8757, allocations: 4.875 kB / 1.108 GB, free: 11.37 MB / 0.7136 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.0006245/0.8764, allocations: 398.7 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.8764, allocations: 8.031 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.8765, allocations: 11.09 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.8767, allocations: 178.8 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.8768, allocations: 6.312 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.8768, allocations: 12 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.877, allocations: 45.69 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.877, allocations: 0 / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.877, allocations: 4 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.877, allocations: 0 / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.8771, allocations: 20.81 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.8778, allocations: 330.7 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.878, allocations: 45.42 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.878, allocations: 31.72 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.8781, allocations: 7.938 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.8783, allocations: 74.92 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.8783, allocations: 0 / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002764/0.8786, allocations: 85.59 kB / 1.109 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.8786, allocations: 51.41 kB / 1.109 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.8787, allocations: 109 kB / 1.109 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.8788, allocations: 33.7 kB / 1.109 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.8789, allocations: 96.03 kB / 1.11 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.8789, allocations: 15.8 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.879, allocations: 8 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8791, allocations: 330.7 kB / 1.11 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.8792, allocations: 36 kB / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.8794, allocations: 72.28 kB / 1.11 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.8796, allocations: 68.03 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8796, allocations: 4 kB / 1.11 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004595/0.88, allocations: 179.1 kB / 1.11 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.8801, allocations: 37.7 kB / 1.11 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8801, allocations: 4 kB / 1.11 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.8802, allocations: 0 / 1.11 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.8803, allocations: 20.11 kB / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.8803, allocations: 0 / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.8806, allocations: 44.89 kB / 1.11 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.8807, allocations: 11.98 kB / 1.11 GB, free: 8.805 MB / 0.7136 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 () * 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.0001077/0.8808, allocations: 125.8 kB / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.8808, allocations: 11.89 kB / 1.11 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.8809, allocations: 8.625 kB / 1.11 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.8809, allocations: 4 kB / 1.11 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8809, allocations: 0 / 1.11 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.8809, allocations: 0 / 1.11 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.8814, allocations: 358.4 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8814, allocations: 4 kB / 1.111 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.8815, allocations: 9.594 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8815, allocations: 0 / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.8815, allocations: 3.984 kB / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8815, allocations: 4 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8815, allocations: 2.25 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.8818, allocations: 179.4 kB / 1.111 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.8818, allocations: 93 kB / 1.111 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.8819, allocations: 0 / 1.111 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.882, allocations: 15.94 kB / 1.111 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.8821, allocations: 3.984 kB / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8821, allocations: 4 kB / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.8822, allocations: 93.56 kB / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8822, allocations: 0 / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004029/0.8826, allocations: 32 kB / 1.111 GB, free: 7.781 MB / 0.7136 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) * 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.000203/0.8828, allocations: 111.2 kB / 1.111 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.8831, allocations: 157.9 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8831, allocations: 0 / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.8832, allocations: 33.34 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.8835, allocations: 4 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.8838, allocations: 112 kB / 1.112 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.8842, allocations: 0.6926 MB / 1.112 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.8842, allocations: 7.984 kB / 1.112 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.8843, allocations: 11.44 kB / 1.112 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.8843, allocations: 0 / 1.112 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.003878/0.8882, allocations: 1.269 MB / 1.114 GB, free: 5.379 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)