Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 189.5 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009104/0.0009105, allocations: 91.22 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 11.84 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001566/0.2379, allocations: 1.187 MB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.2384, allocations: 212.3 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.2385, allocations: 0 / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.2385, allocations: 3.984 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.2386, allocations: 15.86 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.2388, allocations: 19.98 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.2389, allocations: 63.78 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.239, allocations: 8 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.2391, allocations: 19.92 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.2392, allocations: 23.91 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2392, allocations: 0 / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.2392, allocations: 7.938 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.2392, allocations: 7.984 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.2393, allocations: 49.56 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.031e-05/0.2394, allocations: 35.92 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2394, allocations: 0 / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2394, allocations: 0 / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2394, allocations: 0 / 0.9031 GB, free: 61.8 MB / 0.6042 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.0005152/0.2399, allocations: 377.8 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.24, allocations: 12.03 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.24, allocations: 16.78 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2401, allocations: 180.2 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2401, allocations: 4.375 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2402, allocations: 8.359 kB / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2404, allocations: 66.23 kB / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2404, allocations: 192 / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2404, allocations: 3.938 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2404, allocations: 4 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.2406, allocations: 63.83 kB / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.2411, allocations: 304.8 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.2415, allocations: 122.5 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.2416, allocations: 28.97 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.2416, allocations: 8 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.2418, allocations: 91.36 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.2419, allocations: 0 / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.2422, allocations: 145.5 kB / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2423, allocations: 51.41 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.2424, allocations: 117.8 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2424, allocations: 25.7 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2424, allocations: 99.98 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2425, allocations: 15.83 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.2425, allocations: 4 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.041e-05/0.2425, allocations: 322.8 kB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.2426, allocations: 31.97 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2427, allocations: 63.78 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.2429, allocations: 87.34 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2429, allocations: 3.984 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002394/0.2432, allocations: 121.5 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2432, allocations: 8.281 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2432, allocations: 0 / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2432, allocations: 7.938 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.2433, allocations: 19.92 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2433, allocations: 4 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.2434, allocations: 19.89 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.2434, allocations: 4 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.2435, allocations: 121.8 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.2435, allocations: 3.984 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.2436, allocations: 16.36 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2436, allocations: 0 / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.2436, allocations: 0 / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2436, allocations: 0 / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.244, allocations: 382.3 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.244, allocations: 4.062 kB / 0.9059 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.244, allocations: 15.92 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2441, allocations: 0 / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2441, allocations: 4 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2441, allocations: 0 / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2441, allocations: 7.938 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.2443, allocations: 207.4 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.2444, allocations: 85.02 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.2444, allocations: 7.984 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2445, allocations: 19.98 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.2446, allocations: 11.92 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2446, allocations: 0 / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.2446, allocations: 87.28 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2446, allocations: 0 / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002128/0.2448, allocations: 23.92 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001122/0.2449, allocations: 99.25 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.2452, allocations: 80.36 kB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2452, allocations: 192 / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.2453, allocations: 51.91 kB / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.2456, allocations: 8.281 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.2459, allocations: 205.9 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2461, allocations: 0.6926 MB / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.2461, allocations: 11.44 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2461, allocations: 0 / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.00203/0.2482, allocations: 0.9557 MB / 0.9084 GB, free: 55.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)