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.411/1.411, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009572/0.0009571, allocations: 178 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.001058/0.001058, allocations: 90.36 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003132, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001508/0.2159, allocations: 1.176 MB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003877/0.2163, allocations: 220.3 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.2164, allocations: 3.938 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2164, allocations: 0 / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.2165, allocations: 3.938 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.2167, allocations: 27.91 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.2168, allocations: 51.84 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.2169, allocations: 7.984 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.217, allocations: 15.94 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.217, allocations: 27.91 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.217, allocations: 3.938 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.2171, allocations: 4 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.2171, allocations: 15.92 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2171, allocations: 37.69 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.823e-05/0.2172, allocations: 35.92 kB / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2172, allocations: 0 / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2172, allocations: 0 / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2172, allocations: 0 / 0.9024 GB, free: 62.24 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.0005114/0.2177, allocations: 383.3 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2178, allocations: 8.031 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2178, allocations: 7.906 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2179, allocations: 171 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2179, allocations: 8 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.218, allocations: 4 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.2182, allocations: 77.58 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2182, allocations: 4 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2182, allocations: 0 / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2182, allocations: 0 / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.2184, allocations: 67.88 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.2188, allocations: 308.7 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.2192, allocations: 122.5 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.2193, allocations: 36.97 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.2194, allocations: 0 / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.2196, allocations: 91.3 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2196, allocations: 0 / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003887/0.22, allocations: 141.6 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.22, allocations: 67.33 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.2201, allocations: 118 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2201, allocations: 25.7 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.2202, allocations: 88.14 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2202, allocations: 19.73 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.2202, allocations: 4 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.2203, allocations: 314.8 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2204, allocations: 39.97 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2205, allocations: 63.34 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/0.2206, allocations: 31.98 kB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2206, allocations: 0 / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002366/0.2208, allocations: 125.5 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2209, allocations: 11.98 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2209, allocations: 0 / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2209, allocations: 0.5625 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.221, allocations: 16 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.221, allocations: 11.94 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.2211, allocations: 12.02 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2211, allocations: 8 kB / 0.9047 GB, free: 59.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.984e-05/0.2212, allocations: 118.5 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2212, allocations: 11.84 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.2212, allocations: 12.38 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2212, allocations: 0 / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2212, allocations: 0 / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2212, allocations: 3.953 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.2216, allocations: 374.5 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2216, allocations: 0 / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.2217, allocations: 15.92 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2217, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2217, allocations: 4 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2217, allocations: 3.953 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2217, allocations: 4 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.222, allocations: 203.4 kB / 0.9054 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.222, allocations: 85.02 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.222, allocations: 4 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2221, allocations: 15.98 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.2222, allocations: 11.94 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2222, allocations: 8.062 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.2222, allocations: 91.27 kB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2222, allocations: 0 / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000203/0.2224, allocations: 19.94 kB / 0.9056 GB, free: 58.6 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 (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.0001141/0.2226, allocations: 103.2 kB / 0.9057 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.2228, allocations: 84 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2228, allocations: 8 kB / 0.9058 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.2229, allocations: 35.98 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2232, allocations: 14.22 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.2235, allocations: 200.3 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2237, allocations: 0.6848 MB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.2237, allocations: 11.44 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2237, allocations: 0 / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.001961/0.2257, allocations: 0.9811 MB / 0.9077 GB, free: 56.43 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)