Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.243/2.243, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 186 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.618/2.618, allocations: 205.4 MB / 0.5766 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001543/0.001544, allocations: 94.77 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005494/0.0005496, allocations: 15.56 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2213, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002204/0.2236, allocations: 1.175 MB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.2243, allocations: 218.2 kB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.2244, allocations: 0 / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.2244, allocations: 4 kB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2246, allocations: 15.86 kB / 0.9003 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.2248, allocations: 11.98 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.2249, allocations: 39.94 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.225, allocations: 15.94 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.2251, allocations: 27.84 kB / 0.9004 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.2252, allocations: 23.91 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.2252, allocations: 0 / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.2253, allocations: 8 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.2253, allocations: 0 / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.2254, allocations: 37.64 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.2255, allocations: 43.89 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2255, allocations: 4 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2255, allocations: 0 / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2255, allocations: 0 / 0.9005 GB, free: 64.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007589/0.2263, allocations: 379.1 kB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.2264, allocations: 8.031 kB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.2264, allocations: 7.906 kB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2266, allocations: 178.9 kB / 0.901 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2266, allocations: 4 kB / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.2267, allocations: 11.88 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.2271, allocations: 81.64 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2271, allocations: 0 / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.2271, allocations: 4 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2271, allocations: 0 / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.2276, allocations: 59.94 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.2285, allocations: 316.7 kB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.2293, allocations: 114.6 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2293, allocations: 4 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.2297, allocations: 91.52 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 4.298e-06/0.2298, allocations: 0 / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0009232/0.2307, allocations: 149.5 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.2308, allocations: 51.41 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.2309, allocations: 114 kB / 0.902 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.231, allocations: 37.64 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.231, allocations: 88.31 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2311, allocations: 23.75 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.2311, allocations: 0 / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.2312, allocations: 322.8 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.2315, allocations: 27.98 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.2318, allocations: 59.78 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.2321, allocations: 35.98 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2321, allocations: 0 / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000653/0.2328, allocations: 133.4 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.2328, allocations: 4.188 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2328, allocations: 0 / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.2329, allocations: 7.938 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.2331, allocations: 28.03 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.2331, allocations: 320 / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2333, allocations: 15.98 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2334, allocations: 4 kB / 0.9027 GB, free: 61.77 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 0.0001265/0.2335, allocations: 119.2 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2336, allocations: 7.906 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.2336, allocations: 12.36 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2337, allocations: 4 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2337, allocations: 7.891 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2337, allocations: 0 / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000915/0.2346, allocations: 374.4 kB / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2347, allocations: 8 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2348, allocations: 11.92 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.2348, allocations: 4 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2349, allocations: 3.953 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2349, allocations: 0 / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2349, allocations: 0 / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.2355, allocations: 207.5 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.2356, allocations: 85.02 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.2356, allocations: 0 / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.2359, allocations: 23.94 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.236, allocations: 15.97 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2361, allocations: 0 / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.2362, allocations: 91.27 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.92e-07/0.2362, allocations: 0 / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005962/0.2368, allocations: 19.94 kB / 0.9037 GB, free: 60.7 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 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001764/0.237, allocations: 107.1 kB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006489/0.2377, allocations: 75.95 kB / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2377, allocations: 3.938 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.238, allocations: 43.97 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2384, allocations: 12.41 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.2392, allocations: 190.6 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.2394, allocations: 0.6965 MB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.66e-05/0.2395, allocations: 15.78 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.2396, allocations: 11.44 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of SimCode: time 1.252e-06/0.2396, allocations: 0 / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.005515/0.2452, allocations: 0.7625 MB / 0.9055 GB, free: 58.73 MB / 0.6042 GB