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.841/1.841, allocations: 288.3 MB / 303.2 MB, free: 8.055 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.001066/0.001066, allocations: 185 kB / 371.8 MB, free: 10.29 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.815/1.815, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0008632/0.0008632, allocations: 94.86 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004202, allocations: 12.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2573, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8965/1.154, allocations: 138.4 MB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.154, allocations: 67.72 kB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006231/1.16, allocations: 2.094 MB / 1.117 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.928e-06/1.16, allocations: 0 / 1.117 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.16, allocations: 0 / 1.117 GB, free: 31.96 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.0004969/1.161, allocations: 400.3 kB / 1.117 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.161, allocations: 15.42 kB / 1.117 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/1.161, allocations: 14.91 kB / 1.117 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/1.161, allocations: 181.6 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/1.161, allocations: 7.25 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/1.161, allocations: 3.844 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/1.161, allocations: 75.45 kB / 1.117 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/1.161, allocations: 3.984 kB / 1.117 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.161, allocations: 2.531 kB / 1.117 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/1.161, allocations: 7.844 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/1.162, allocations: 47.22 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/1.162, allocations: 330 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/1.162, allocations: 67.97 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/1.162, allocations: 0 / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/1.163, allocations: 98.89 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/1.163, allocations: 0 / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004355/1.163, allocations: 161.3 kB / 1.118 GB, free: 30.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/1.163, allocations: 56.03 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/1.163, allocations: 106.8 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.163, allocations: 32.83 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/1.163, allocations: 88.88 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/1.163, allocations: 23.55 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/1.163, allocations: 0 / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.164, allocations: 329.1 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/1.164, allocations: 57.09 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/1.164, allocations: 87.42 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.164, allocations: 87.58 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.164, allocations: 3.938 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004133/1.164, allocations: 212.6 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/1.165, allocations: 34.84 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.165, allocations: 0 / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/1.165, allocations: 3.812 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.165, allocations: 19.66 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.165, allocations: 5.938 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.165, allocations: 55.16 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/1.165, allocations: 8.438 kB / 1.119 GB, free: 30.1 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.0001157/1.165, allocations: 128.9 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/1.165, allocations: 6.656 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/1.165, allocations: 11.06 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.165, allocations: 1.344 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.165, allocations: 1.344 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.165, allocations: 0 / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/1.166, allocations: 386.5 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.166, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/1.166, allocations: 13.53 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.166, allocations: 3.875 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/1.166, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.166, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.166, allocations: 4 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/1.166, allocations: 225.4 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/1.166, allocations: 80.98 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/1.166, allocations: 8.062 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/1.166, allocations: 13.72 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/1.166, allocations: 6.281 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/1.166, allocations: 2.953 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.067e-05/1.166, allocations: 90.61 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.166, allocations: 3.938 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002565/1.167, allocations: 31.03 kB / 1.12 GB, free: 29.34 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.0001826/1.167, allocations: 123.9 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003613/1.167, allocations: 181.6 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.167, allocations: 0 / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/1.167, allocations: 54.64 kB / 1.121 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/1.167, allocations: 13.03 kB / 1.121 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/1.168, allocations: 172.1 kB / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/1.168, allocations: 0.689 MB / 1.121 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.38e-05/1.168, allocations: 6.656 kB / 1.121 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/1.168, allocations: 11.31 kB / 1.121 GB, free: 28.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.168, allocations: 0 / 1.121 GB, free: 28.32 MB / 0.698 GB Notification: Performance of Templates: time 0.003636/1.172, allocations: 1.269 MB / 1.123 GB, free: 28.2 MB / 0.698 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)