Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001104/0.001104, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.782/1.782, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001438/0.001438, allocations: 74.28 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3215, allocations: 114.6 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002627/0.3241, allocations: 0.8133 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.326, allocations: 1.153 MB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.3261, allocations: 0 / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.3262, allocations: 3.938 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.3264, allocations: 7.938 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.3271, allocations: 114.7 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.3274, allocations: 123.8 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3275, allocations: 15.98 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3277, allocations: 47.84 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3279, allocations: 43.81 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.3279, allocations: 12 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3281, allocations: 31.98 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.3281, allocations: 15.92 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3282, allocations: 43.83 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3285, allocations: 99.75 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.3286, allocations: 4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3286, allocations: 0 / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3286, allocations: 0 / 0.7853 GB, free: 11.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000985/0.3296, allocations: 413.2 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.3296, allocations: 8.031 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.3297, allocations: 12.84 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.3299, allocations: 168.4 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.33, allocations: 12.31 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.33, allocations: 12.38 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3303, allocations: 70.16 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3303, allocations: 192 / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3303, allocations: 3.938 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3303, allocations: 4 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.3305, allocations: 43.95 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.3312, allocations: 332.6 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.3314, allocations: 62.55 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3316, allocations: 40.95 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3316, allocations: 0 / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.3319, allocations: 87.36 kB / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.136e-06/0.3319, allocations: 0 / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004708/0.3324, allocations: 141.5 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.3325, allocations: 55.48 kB / 0.7867 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3326, allocations: 121.8 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.3326, allocations: 33.7 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.3327, allocations: 96.03 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.3328, allocations: 19.73 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.3329, allocations: 37.7 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.333, allocations: 322.8 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.3332, allocations: 51.97 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3334, allocations: 84.25 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.3337, allocations: 145.8 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3338, allocations: 0 / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000456/0.3342, allocations: 203.2 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.3343, allocations: 45.81 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3343, allocations: 0 / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3343, allocations: 4 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.3344, allocations: 15.92 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3344, allocations: 4.25 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3346, allocations: 39.89 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3347, allocations: 8 kB / 0.7879 GB, free: 8.375 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.3349, allocations: 121.8 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.3349, allocations: 7.906 kB / 0.788 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.3349, allocations: 16.36 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3349, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3349, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3349, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.3354, allocations: 382.4 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3354, allocations: 4 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.3355, allocations: 4 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3355, allocations: 0 / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3355, allocations: 11.97 kB / 0.7884 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3355, allocations: 4 kB / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3355, allocations: 8 kB / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.3358, allocations: 211.3 kB / 0.7886 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.3359, allocations: 81.02 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3359, allocations: 8 kB / 0.7887 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.336, allocations: 7.984 kB / 0.7887 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.336, allocations: 4 kB / 0.7887 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.336, allocations: 7.922 kB / 0.7888 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.3361, allocations: 87.28 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3361, allocations: 0 / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002695/0.3364, allocations: 35.98 kB / 0.7889 GB, free: 7.293 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.3366, allocations: 103.2 kB / 0.789 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.3369, allocations: 179.2 kB / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.337, allocations: 0 / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3371, allocations: 44.16 kB / 0.7892 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3374, allocations: 12 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.3378, allocations: 182.6 kB / 0.7894 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3381, allocations: 0.6923 MB / 0.79 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.3382, allocations: 11.92 kB / 0.7901 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.3382, allocations: 11.44 kB / 0.7901 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3382, allocations: 0 / 0.7901 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of Templates: time 0.004313/0.3425, allocations: 1.383 MB / 0.7914 GB, free: 4.629 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)