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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, 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.0009823/0.0009823, allocations: 174.8 kB / 327.3 MB, free: 2.23 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.772/1.772, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0007083/0.0007083, allocations: 86.31 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 13.25 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, 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.FallingEdge): time 0.001489/0.2229, allocations: 1.187 MB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003807/0.2233, allocations: 212.3 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.2233, allocations: 0 / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.2233, allocations: 3.984 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.203e-05/0.2234, allocations: 11.92 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.2236, allocations: 19.92 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.2237, allocations: 51.84 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2238, allocations: 16 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.2239, allocations: 19.92 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.2239, allocations: 27.83 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2239, allocations: 4 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.224, allocations: 3.938 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.224, allocations: 8 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.224, allocations: 37.62 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.669e-05/0.2241, allocations: 35.92 kB / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2241, allocations: 0 / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2241, allocations: 0 / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2241, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005158/0.2246, allocations: 388.1 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2247, allocations: 8.031 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.2247, allocations: 11.84 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2248, allocations: 171 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2249, allocations: 7.922 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.2249, allocations: 12 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2251, allocations: 65.67 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2251, allocations: 4 kB / 0.9031 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2251, allocations: 3.984 kB / 0.9031 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2252, allocations: 0 / 0.9031 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.2254, allocations: 59.95 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.2259, allocations: 320.6 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.2263, allocations: 122.5 kB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2264, allocations: 36.97 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.2265, allocations: 0 / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.2267, allocations: 87.41 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2267, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004342/0.2272, allocations: 145.5 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2272, allocations: 55.39 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.2273, allocations: 122 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2273, allocations: 33.64 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.2274, allocations: 92.23 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.2274, allocations: 15.83 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.2274, allocations: 4 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.2275, allocations: 319.2 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2276, allocations: 31.97 kB / 0.9045 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2277, allocations: 63.34 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.2279, allocations: 35.98 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2279, allocations: 3.938 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002431/0.2281, allocations: 125.5 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2281, allocations: 8 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2282, allocations: 0 / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2282, allocations: 0 / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.2283, allocations: 15.98 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2283, allocations: 7.953 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.2284, allocations: 27.94 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.2284, allocations: 4 kB / 0.9047 GB, free: 59.64 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 8.588e-05/0.2285, allocations: 124 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.2285, allocations: 4 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.2285, allocations: 12.38 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2285, allocations: 0 / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2286, allocations: 0 / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2286, allocations: 3.953 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.229, allocations: 378.4 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.229, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.229, allocations: 15.92 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2291, allocations: 4 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2291, allocations: 0 / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2291, allocations: 7.953 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2291, allocations: 0 / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.2293, allocations: 203.9 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.2294, allocations: 84.95 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.2294, allocations: 4 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2295, allocations: 12.05 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.2296, allocations: 19.94 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2296, allocations: 4 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.2296, allocations: 95.45 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2296, allocations: 288 / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002243/0.2299, allocations: 12 kB / 0.9057 GB, free: 58.58 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.0001243/0.23, allocations: 107.2 kB / 0.9058 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.2303, allocations: 87.95 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2303, allocations: 3.938 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2304, allocations: 35.98 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2307, allocations: 15.92 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.2311, allocations: 228.4 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.2312, allocations: 0.6887 MB / 0.9068 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.2313, allocations: 15.44 kB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2313, allocations: 0 / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.002056/0.2333, allocations: 0.966 MB / 0.9078 GB, free: 56.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)