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.814/1.814, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.002095/0.002095, allocations: 184.5 kB / 372 MB, free: 10.28 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.98/1.98, allocations: 205.4 MB / 0.6307 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.000803/0.0008029, allocations: 90.34 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 13.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0009861/0.2357, allocations: 474.5 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2371, allocations: 1.134 MB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.2372, allocations: 0 / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.2373, allocations: 0 / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.2373, allocations: 11.86 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.2378, allocations: 117.1 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.238, allocations: 95.75 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.445e-05/0.2381, allocations: 15.94 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.494e-05/0.2382, allocations: 43.89 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.2383, allocations: 31.89 kB / 0.9815 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.2383, allocations: 11.94 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.2384, allocations: 19.98 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.2384, allocations: 3.984 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.2384, allocations: 41.64 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2386, allocations: 79.81 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2386, allocations: 0 / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2386, allocations: 4 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2386, allocations: 0 / 0.9816 GB, free: 25.58 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.0005842/0.2392, allocations: 401.1 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2392, allocations: 8.031 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.2393, allocations: 11.98 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.2394, allocations: 174.9 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.2394, allocations: 7.984 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.2395, allocations: 12 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.2397, allocations: 73.59 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2397, allocations: 3.938 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2397, allocations: 3.984 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2397, allocations: 4 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.2399, allocations: 55.95 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.2404, allocations: 336.7 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.2406, allocations: 70.55 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.2407, allocations: 36.97 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2407, allocations: 0 / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.2409, allocations: 95.27 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.2409, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004168/0.2414, allocations: 157.6 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2414, allocations: 59.39 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.2415, allocations: 121.7 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2415, allocations: 33.7 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.2416, allocations: 92.12 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.2416, allocations: 15.81 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.2416, allocations: 0 / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.2417, allocations: 326.8 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.2418, allocations: 51.97 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.242, allocations: 94.38 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2421, allocations: 85.67 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2422, allocations: 3.938 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003911/0.2426, allocations: 219.1 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2426, allocations: 38.95 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/0.2426, allocations: 4.25 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2427, allocations: 4 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.2428, allocations: 15.92 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2428, allocations: 8.125 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.243, allocations: 55.75 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2431, allocations: 19.91 kB / 0.9842 GB, free: 22.68 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 7.964e-05/0.2431, allocations: 122.5 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.2432, allocations: 4 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.2432, allocations: 8.375 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2432, allocations: 4 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2432, allocations: 0 / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2432, allocations: 0 / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.2436, allocations: 394.3 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2436, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.2437, allocations: 11.98 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2437, allocations: 0 / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2437, allocations: 0 / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2437, allocations: 0 / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2437, allocations: 7.953 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.244, allocations: 219.3 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.244, allocations: 85.09 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.2441, allocations: 4 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.2441, allocations: 8 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.2442, allocations: 11.97 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2442, allocations: 7.953 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.2443, allocations: 91.27 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2443, allocations: 0 / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002415/0.2445, allocations: 24 kB / 0.9852 GB, free: 21.6 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.0001354/0.2446, allocations: 107.2 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.245, allocations: 187.3 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.245, allocations: 0 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2451, allocations: 52.16 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2454, allocations: 11.98 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.2457, allocations: 182.9 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2459, allocations: 0.6887 MB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.2459, allocations: 7.781 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.2459, allocations: 11.44 kB / 0.9864 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2459, allocations: 0 / 0.9864 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.003428/0.2494, allocations: 1.285 MB / 0.9876 GB, free: 19.02 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)