Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008301/0.0008298, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005124, allocations: 19.31 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2221, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0009188/0.223, allocations: 482 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.2244, allocations: 1.13 MB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.2245, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.2245, allocations: 3.938 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.2246, allocations: 11.92 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.225, allocations: 103 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2252, allocations: 107.7 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.2253, allocations: 16 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.2253, allocations: 39.84 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.126e-05/0.2254, allocations: 43.81 kB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2254, allocations: 4 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.2255, allocations: 19.98 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2255, allocations: 11.98 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.2256, allocations: 37.64 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2257, allocations: 75.81 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2257, allocations: 0 / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2257, allocations: 0 / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2257, allocations: 8 kB / 0.7893 GB, free: 9.82 MB / 0.6075 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.0004834/0.2262, allocations: 401.1 kB / 0.7897 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.2262, allocations: 8.031 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.2263, allocations: 4 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2264, allocations: 170.9 kB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2264, allocations: 8 kB / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.2265, allocations: 12 kB / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2266, allocations: 73.59 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.2267, allocations: 0 / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.2267, allocations: 0 / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2267, allocations: 0 / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.2269, allocations: 63.89 kB / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.2273, allocations: 336.7 kB / 0.7904 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.2275, allocations: 70.55 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/0.2276, allocations: 36.95 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2276, allocations: 0 / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.2278, allocations: 99.27 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2278, allocations: 0 / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003699/0.2282, allocations: 153.8 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.2282, allocations: 55.41 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.2283, allocations: 133.6 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2283, allocations: 25.7 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.2284, allocations: 92.2 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.2284, allocations: 19.8 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.2284, allocations: 0 / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.2285, allocations: 322.8 kB / 0.7913 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2287, allocations: 59.95 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2289, allocations: 88.25 kB / 0.7915 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.229, allocations: 97.67 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2291, allocations: 0 / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003871/0.2294, allocations: 211.2 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.2295, allocations: 37.7 kB / 0.7918 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2295, allocations: 4 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2295, allocations: 0 / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.2296, allocations: 23.91 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2296, allocations: 128 / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.2298, allocations: 63.75 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2299, allocations: 8 kB / 0.7919 GB, free: 6.938 MB / 0.6075 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 () * Number of clocked 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 8.534e-05/0.2299, allocations: 122.5 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.23, allocations: 3.984 kB / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.23, allocations: 12.38 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.23, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.23, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.23, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.2304, allocations: 394.3 kB / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2305, allocations: 0 / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.2305, allocations: 15.98 kB / 0.7924 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2305, allocations: 0 / 0.7924 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2305, allocations: 8.062 kB / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2305, allocations: 3.938 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2305, allocations: 3.953 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2308, allocations: 219.3 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.2309, allocations: 81.11 kB / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.2309, allocations: 7.938 kB / 0.7927 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.231, allocations: 15.98 kB / 0.7927 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.231, allocations: 7.984 kB / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.231, allocations: 3.953 kB / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.2311, allocations: 91.81 kB / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2311, allocations: 0 / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002422/0.2313, allocations: 28 kB / 0.7929 GB, free: 5.84 MB / 0.6075 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) * Number of clocked states: 0 () * 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.0001592/0.2315, allocations: 111.2 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.2318, allocations: 179.3 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2319, allocations: 3.938 kB / 0.7931 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.232, allocations: 48.22 kB / 0.7932 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.2322, allocations: 19.41 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.2326, allocations: 179 kB / 0.7934 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2329, allocations: 0.6888 MB / 0.7941 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.233, allocations: 7.984 kB / 0.7941 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.233, allocations: 11.44 kB / 0.7941 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.233, allocations: 0 / 0.7941 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.003683/0.2367, allocations: 1.274 MB / 0.7953 GB, free: 3.273 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) Environment - environmentSimulation: