Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.75/2.75, allocations: 287.5 MB / 303.2 MB, free: 8.316 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.001254/0.001253, allocations: 186.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.349/2.349, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009263/0.0009256, allocations: 99.16 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005042, allocations: 13.72 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2133, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9261/1.139, allocations: 138.2 MB / 1.114 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.14, allocations: 76.06 kB / 1.114 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009918/1.15, allocations: 2.103 MB / 1.116 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.15, allocations: 0 / 1.116 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.15, allocations: 7.844 kB / 1.116 GB, free: 31.4 MB / 0.698 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.0006201/1.15, allocations: 398.4 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.151, allocations: 11.53 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/1.151, allocations: 8.688 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.151, allocations: 178.5 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/1.151, allocations: 11.12 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/1.151, allocations: 8 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/1.151, allocations: 68.39 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.151, allocations: 192 / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/1.151, allocations: 11.78 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.151, allocations: 3.938 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/1.151, allocations: 53.78 kB / 1.117 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/1.152, allocations: 326.7 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/1.152, allocations: 76.41 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/1.152, allocations: 33 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/1.153, allocations: 0 / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/1.153, allocations: 98.77 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/1.153, allocations: 3.984 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006521/1.154, allocations: 157.2 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.154, allocations: 58.62 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/1.154, allocations: 119.9 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/1.154, allocations: 32.45 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/1.154, allocations: 89.3 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.154, allocations: 21.11 kB / 1.118 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/1.154, allocations: 3.312 kB / 1.118 GB, free: 30.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.154, allocations: 323.9 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/1.154, allocations: 52.28 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/1.155, allocations: 91.5 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/1.155, allocations: 159 kB / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.155, allocations: 0 / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000684/1.156, allocations: 215.8 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/1.156, allocations: 37.05 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.156, allocations: 4 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.156, allocations: 6.938 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/1.156, allocations: 10.59 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.156, allocations: 7.781 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/1.156, allocations: 53.25 kB / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/1.156, allocations: 7.625 kB / 1.119 GB, free: 29.49 MB / 0.698 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 0.0001329/1.157, allocations: 129.5 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/1.157, allocations: 10.8 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/1.157, allocations: 11.69 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.157, allocations: 0 / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.157, allocations: 0 / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.157, allocations: 4 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/1.157, allocations: 386.5 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.157, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/1.158, allocations: 16.06 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.158, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.158, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.158, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.158, allocations: 80 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/1.158, allocations: 235.4 kB / 1.12 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/1.158, allocations: 81.02 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/1.158, allocations: 11.19 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.158, allocations: 10.53 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/1.158, allocations: 6.891 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.158, allocations: 10.58 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.361e-05/1.158, allocations: 97.48 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.158, allocations: 0 / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003651/1.159, allocations: 27.22 kB / 1.12 GB, free: 28.71 MB / 0.698 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.0001874/1.159, allocations: 109.6 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005637/1.16, allocations: 189.9 kB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.969e-05/1.16, allocations: 0 / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/1.16, allocations: 42.77 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/1.16, allocations: 19.11 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/1.161, allocations: 179.4 kB / 1.121 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.161, allocations: 0.6893 MB / 1.121 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.837e-05/1.161, allocations: 3.906 kB / 1.121 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/1.161, allocations: 11.28 kB / 1.121 GB, free: 27.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/1.161, allocations: 4 kB / 1.121 GB, free: 27.7 MB / 0.698 GB Notification: Performance of Templates: time 0.004889/1.166, allocations: 1.283 MB / 1.122 GB, free: 27.58 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)