Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.767/1.767, allocations: 288.3 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 177 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009103/0.0009101, allocations: 101.6 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.000415, allocations: 12.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2051, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0007867/0.2059, allocations: 470.5 kB / 0.9799 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2071, allocations: 1.118 MB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.2072, allocations: 4 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.2072, allocations: 3.938 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.2073, allocations: 7.922 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.2078, allocations: 113.6 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.2079, allocations: 63.86 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.208, allocations: 15.98 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.2081, allocations: 39.91 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2081, allocations: 35.89 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2082, allocations: 4 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.2082, allocations: 19.92 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.2082, allocations: 19.91 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.2083, allocations: 37.7 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.2084, allocations: 67.83 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2084, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2084, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2084, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 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.0004664/0.2089, allocations: 406.1 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2089, allocations: 12.03 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.209, allocations: 4 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/0.2091, allocations: 194.8 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2091, allocations: 4 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.2091, allocations: 4 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2093, allocations: 73.66 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2094, allocations: 0 / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2094, allocations: 4 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2094, allocations: 0 / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.2096, allocations: 55.95 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.21, allocations: 344.6 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.2102, allocations: 66.61 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.2102, allocations: 0 / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.2105, allocations: 99.39 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.2105, allocations: 4 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003938/0.2109, allocations: 145.6 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2109, allocations: 59.41 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.211, allocations: 129.7 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.211, allocations: 29.7 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.211, allocations: 88.14 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.2111, allocations: 19.8 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.2111, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.2111, allocations: 318.8 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2113, allocations: 63.89 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.2114, allocations: 92.25 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2116, allocations: 85.98 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2116, allocations: 0 / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003845/0.212, allocations: 219.1 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.212, allocations: 47.53 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2121, allocations: 0 / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2121, allocations: 4 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.2122, allocations: 15.92 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2122, allocations: 4 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.2124, allocations: 59.8 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2124, allocations: 15.89 kB / 0.9839 GB, free: 22.81 MB / 0.6198 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.535e-05/0.2125, allocations: 117.8 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.2126, allocations: 4 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.2126, allocations: 12.36 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2126, allocations: 4 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2126, allocations: 4 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2126, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.2131, allocations: 390.3 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.2131, allocations: 0 / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.2132, allocations: 15.98 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2132, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2132, allocations: 4 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2132, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2132, allocations: 4 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2135, allocations: 215.4 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.2135, allocations: 81.11 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2136, allocations: 4 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.2137, allocations: 16.05 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.2137, allocations: 7.922 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2137, allocations: 4 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.2138, allocations: 99.22 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2138, allocations: 0 / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002819/0.2141, allocations: 24 kB / 0.9849 GB, free: 21.73 MB / 0.6198 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.0001625/0.2142, allocations: 101.4 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.2146, allocations: 195.2 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2146, allocations: 0 / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2148, allocations: 43.97 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.215, allocations: 12.5 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.2154, allocations: 185.4 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.2155, allocations: 0.6965 MB / 0.9861 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.2155, allocations: 7.781 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.2156, allocations: 11.44 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2156, allocations: 4 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.003643/0.2192, allocations: 1.276 MB / 0.9874 GB, free: 19.15 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)