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.001262/0.001262, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001356/0.001356, allocations: 177.3 kB / 15.94 MB, free: 228 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.584/1.584, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.873/1.873, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005218/0.0005219, allocations: 18 kB / 0.6736 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2881, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001068/0.2892, allocations: 482.1 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2907, allocations: 1.107 MB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.2907, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2908, allocations: 3.938 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.2908, allocations: 15.98 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2913, allocations: 115.8 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2914, allocations: 63.86 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.2915, allocations: 15.97 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.2916, allocations: 43.89 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.2917, allocations: 31.89 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.2917, allocations: 8 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.2918, allocations: 23.92 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.2918, allocations: 11.92 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.2919, allocations: 37.7 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.292, allocations: 75.83 kB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.292, allocations: 0 / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.292, allocations: 0 / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.292, allocations: 0 / 0.7891 GB, free: 9.953 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.0005936/0.2926, allocations: 405 kB / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2927, allocations: 12.03 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.2927, allocations: 4 kB / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2929, allocations: 178.9 kB / 0.7897 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2929, allocations: 11.88 kB / 0.7897 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.2929, allocations: 12 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.2931, allocations: 69.66 kB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2931, allocations: 0 / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2932, allocations: 4 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2932, allocations: 0 / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.2934, allocations: 55.95 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.2939, allocations: 340.6 kB / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.2941, allocations: 58.55 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2941, allocations: 4.062 kB / 0.7902 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.2943, allocations: 107.5 kB / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2943, allocations: 3.938 kB / 0.7903 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004515/0.2948, allocations: 157.6 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.2949, allocations: 51.41 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.295, allocations: 125.7 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.295, allocations: 29.7 kB / 0.7907 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.2951, allocations: 92.12 kB / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.2951, allocations: 15.8 kB / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.2951, allocations: 12 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2953, allocations: 318.8 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2954, allocations: 51.97 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.2956, allocations: 96.19 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2958, allocations: 85.67 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2958, allocations: 0 / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004167/0.2962, allocations: 219.2 kB / 0.7915 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.2962, allocations: 33.64 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2962, allocations: 4 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2963, allocations: 0 / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2964, allocations: 20.11 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2964, allocations: 0 / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.2966, allocations: 62.97 kB / 0.7916 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2966, allocations: 19.88 kB / 0.7916 GB, free: 7.094 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 9.874e-05/0.2968, allocations: 132.4 kB / 0.7918 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2968, allocations: 4 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.2968, allocations: 4.375 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2968, allocations: 0 / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2968, allocations: 0 / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2968, allocations: 0 / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.2973, allocations: 394.4 kB / 0.7921 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2973, allocations: 0 / 0.7921 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.2974, allocations: 15.92 kB / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2974, allocations: 0 / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2974, allocations: 4 kB / 0.7922 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2974, allocations: 4 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2974, allocations: 0 / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.2977, allocations: 219.4 kB / 0.7924 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2978, allocations: 85.09 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2978, allocations: 3.984 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.2979, allocations: 8 kB / 0.7925 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2979, allocations: 7.984 kB / 0.7925 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2979, allocations: 4 kB / 0.7925 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.298, allocations: 99.22 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.298, allocations: 0 / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002551/0.2982, allocations: 20 kB / 0.7926 GB, free: 6.012 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.0001482/0.2984, allocations: 119.2 kB / 0.7927 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.2988, allocations: 183.3 kB / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2988, allocations: 0 / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2989, allocations: 40.23 kB / 0.7929 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.2991, allocations: 15.98 kB / 0.7929 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.2995, allocations: 187 kB / 0.7931 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.2998, allocations: 0.6887 MB / 0.7938 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.2999, allocations: 11.92 kB / 0.7938 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.2999, allocations: 11.44 kB / 0.7938 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2999, allocations: 0 / 0.7938 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of Templates: time 0.003803/0.3037, allocations: 1.28 MB / 0.7951 GB, free: 3.43 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: