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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001626/0.001627, allocations: 176.4 kB / 361.4 MB, free: 6.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 1.711/1.711, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008061/0.0008065, allocations: 85.97 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.344e-05, allocations: 4 kB / 0.8518 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7158/0.7158, allocations: 115.3 MB / 0.9644 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.9084, allocations: 137.6 MB / 1.099 GB, free: 2.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.9087, allocations: 65.5 kB / 1.099 GB, free: 2.137 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006326/0.915, allocations: 2.092 MB / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9151, allocations: 0 / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.9151, allocations: 1.594 kB / 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000519/0.9156, allocations: 399 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9157, allocations: 12.03 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.9157, allocations: 8.938 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.9159, allocations: 174.9 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.9159, allocations: 2.906 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.9159, allocations: 8 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.807e-05/0.916, allocations: 23.98 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.68e-05/0.9161, allocations: 46.34 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.9161, allocations: 0 / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.9162, allocations: 0.75 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9162, allocations: 0 / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.9166, allocations: 320.2 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.9168, allocations: 48.67 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.9168, allocations: 16.98 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.9168, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.917, allocations: 79.22 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.917, allocations: 0 / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002063/0.9172, allocations: 77.69 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.9172, allocations: 55.41 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.9173, allocations: 112.9 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.9174, allocations: 29.7 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.9174, allocations: 89.83 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.9175, allocations: 23.86 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.9175, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9176, allocations: 322.8 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.9177, allocations: 35.98 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.9178, allocations: 65.42 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.918, allocations: 53.77 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.918, allocations: 0 / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003416/0.9184, allocations: 149.5 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.9184, allocations: 37.7 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9185, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9185, allocations: 7.984 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.9186, allocations: 8 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.9186, allocations: 7.938 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.9188, allocations: 50.95 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.9188, allocations: 7.984 kB / 1.103 GB, free: 13.66 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.507e-05/0.9189, allocations: 117.7 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.919, allocations: 7.906 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.919, allocations: 10.31 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.919, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.919, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.919, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.9193, allocations: 330.8 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9194, allocations: 0 / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.9195, allocations: 11.98 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9195, allocations: 0 / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.9195, allocations: 4 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9195, allocations: 7.984 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9195, allocations: 0 / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.9197, allocations: 177.1 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.9197, allocations: 88.95 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.9198, allocations: 3.984 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.9198, allocations: 8 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.9199, allocations: 7.984 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.9199, allocations: 4 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.92, allocations: 91.92 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.92, allocations: 2.625 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002534/0.9202, allocations: 32 kB / 1.104 GB, free: 12.69 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001774/0.9204, allocations: 112 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.9206, allocations: 135.3 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9207, allocations: 8.25 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.9207, allocations: 27.98 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.9209, allocations: 13.7 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.9212, allocations: 106.5 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.9215, allocations: 0.6892 MB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.9215, allocations: 7.984 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.9216, allocations: 15.44 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9216, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.003415/0.925, allocations: 1.182 MB / 1.106 GB, free: 10.4 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)