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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001506/0.001506, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.823/1.823, allocations: 205.2 MB / 0.626 GB, free: 7.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.0008864/0.0008861, allocations: 95.7 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.49e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7173/0.7173, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1793/0.8967, allocations: 138.6 MB / 1.109 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.8971, allocations: 71.95 kB / 1.109 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006342/0.9034, allocations: 2.079 MB / 1.111 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9034, allocations: 1.469 kB / 1.111 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.9035, allocations: 0 / 1.111 GB, free: 9.473 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.0005353/0.904, allocations: 397.2 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.718e-05/0.9041, allocations: 13.03 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.9042, allocations: 4 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.9043, allocations: 178.9 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.9043, allocations: 1.625 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.9044, allocations: 8 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/0.9045, allocations: 16 kB / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.9046, allocations: 49.62 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9046, allocations: 1.375 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9046, allocations: 0 / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.9046, allocations: 0 / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.9051, allocations: 311 kB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.9053, allocations: 49.14 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.9053, allocations: 16.98 kB / 1.112 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.9053, allocations: 3.938 kB / 1.112 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.9055, allocations: 82.09 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.9055, allocations: 0 / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002205/0.9057, allocations: 80.72 kB / 1.112 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.9058, allocations: 56.72 kB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.9059, allocations: 109 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.9059, allocations: 29.7 kB / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.906, allocations: 92.05 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.906, allocations: 23.73 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.906, allocations: 0 / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9062, allocations: 322.8 kB / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.9062, allocations: 35.98 kB / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.9063, allocations: 66.17 kB / 1.113 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.9066, allocations: 43.95 kB / 1.113 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9066, allocations: 0 / 1.113 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003471/0.9069, allocations: 153.5 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.907, allocations: 33.83 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.907, allocations: 4 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.907, allocations: 14.92 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.9071, allocations: 8 kB / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9071, allocations: 4 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.9074, allocations: 49.77 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.9074, allocations: 11.98 kB / 1.113 GB, free: 7.047 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 9.206e-05/0.9075, allocations: 118.9 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.9075, allocations: 7.844 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.9075, allocations: 12.62 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.9076, allocations: 3.984 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9076, allocations: 0 / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.9076, allocations: 4 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.9079, allocations: 315.1 kB / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9079, allocations: 0 / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.908, allocations: 19.92 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.908, allocations: 0 / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.908, allocations: 7.938 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.908, allocations: 0 / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.908, allocations: 0 / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.9082, allocations: 179.4 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.9082, allocations: 88.64 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.9083, allocations: 0 / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.9083, allocations: 11.98 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.9084, allocations: 11.98 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.9084, allocations: 0 / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.9085, allocations: 97.67 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9085, allocations: 0 / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002581/0.9087, allocations: 28 kB / 1.114 GB, free: 6.082 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.0001741/0.9089, allocations: 107.2 kB / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.9092, allocations: 139.4 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9092, allocations: 0 / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.9092, allocations: 31.92 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.9094, allocations: 24.03 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.9097, allocations: 96.42 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.91, allocations: 0.6962 MB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.91, allocations: 4 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.9101, allocations: 7.438 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9101, allocations: 4 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of Templates: time 0.003196/0.9133, allocations: 1.168 MB / 1.116 GB, free: 3.793 MB / 0.7136 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)