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.665/1.665, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001616/0.001616, allocations: 180.9 kB / 361.4 MB, free: 6.852 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.856/1.856, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.000788/0.0007879, allocations: 91.25 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.677e-05, allocations: 8 kB / 0.8518 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6752, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.8568, allocations: 137.6 MB / 1.099 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.8571, allocations: 76.73 kB / 1.099 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005969/0.863, allocations: 2.08 MB / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8631, allocations: 0 / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8631, allocations: 0 / 1.101 GB, free: 96 kB / 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.0004411/0.8635, allocations: 393.2 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8636, allocations: 12.03 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.8636, allocations: 9.031 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8638, allocations: 183.6 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.8638, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.8638, allocations: 10 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.641e-05/0.8639, allocations: 12 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.908e-05/0.864, allocations: 45.69 kB / 1.102 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.864, allocations: 0 / 1.102 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.864, allocations: 7.984 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.864, allocations: 3.031 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.8645, allocations: 305.3 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/0.8646, allocations: 48.3 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.8646, allocations: 24.91 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.8647, allocations: 4 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.8648, allocations: 78.45 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.8648, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000224/0.8651, allocations: 77.53 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.8651, allocations: 63.41 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.8652, allocations: 107.7 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.8652, allocations: 25.7 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.8653, allocations: 103.4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.8654, allocations: 11.81 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.8654, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8655, allocations: 326.8 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.8656, allocations: 32 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.8657, allocations: 72.28 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.8659, allocations: 39.97 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8659, allocations: 4 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003325/0.8663, allocations: 156.5 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/0.8663, allocations: 41.69 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.8663, allocations: 4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8664, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.8665, allocations: 15.98 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.8665, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.8667, allocations: 44.09 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.8667, allocations: 11.98 kB / 1.103 GB, free: 13.67 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.707e-05/0.8668, allocations: 122.3 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.8669, allocations: 7.906 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.8669, allocations: 4.625 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8669, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8669, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8669, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.8673, allocations: 327 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8673, allocations: 3.938 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.8673, allocations: 12 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8673, allocations: 0 / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.8674, allocations: 7.984 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8674, allocations: 0 / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8674, allocations: 0 / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.8676, allocations: 179.4 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.8676, allocations: 81.02 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.8676, allocations: 3.984 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.8677, allocations: 9.625 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.8678, allocations: 11.98 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.8678, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.8679, allocations: 91.27 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8679, allocations: 5.25 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002553/0.8681, allocations: 28 kB / 1.104 GB, free: 12.7 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.0001965/0.8683, allocations: 111 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.8686, allocations: 139.5 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8686, allocations: 8.062 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.8687, allocations: 24 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.8689, allocations: 11.95 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.8692, allocations: 103.5 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.8695, allocations: 0.6924 MB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.841e-05/0.8696, allocations: 11.98 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.8696, allocations: 12.75 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of SimCode: time 3.066e-06/0.8696, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.003499/0.8731, allocations: 1.174 MB / 1.106 GB, free: 10.42 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)