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.001278/0.001278, allocations: 103.3 kB / 16.27 MB, free: 5.969 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.001314/0.001314, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.855/1.855, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001776/0.001776, allocations: 75.75 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3099, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002354/0.3123, allocations: 0.7528 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.314, allocations: 1.145 MB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.3141, allocations: 0 / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.3142, allocations: 3.938 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.3142, allocations: 19.91 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.3148, allocations: 126 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.315, allocations: 127.7 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3151, allocations: 15.98 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.3152, allocations: 47.89 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.3153, allocations: 39.89 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3153, allocations: 12 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.792e-05/0.3154, allocations: 23.98 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.3154, allocations: 7.938 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.3155, allocations: 51.83 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.3157, allocations: 107.7 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3157, allocations: 0 / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3157, allocations: 4 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3157, allocations: 0 / 0.7865 GB, free: 1.367 MB / 0.6544 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.0006451/0.3164, allocations: 409.2 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3165, allocations: 11.97 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.3165, allocations: 16.84 kB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3167, allocations: 172.3 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3167, allocations: 4.375 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3167, allocations: 4.375 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3169, allocations: 74.2 kB / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.317, allocations: 192 / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.317, allocations: 3.938 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.317, allocations: 0 / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.3172, allocations: 47.94 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.3177, allocations: 340.6 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3179, allocations: 58.55 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.318, allocations: 32.97 kB / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.318, allocations: 0 / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.495/0.813, allocations: 85.47 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 4.789e-06/0.8131, allocations: 1.938 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.8137, allocations: 144.6 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.8137, allocations: 54.09 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.8138, allocations: 118.2 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.8139, allocations: 32.73 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.8139, allocations: 89.2 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.814, allocations: 15.62 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.814, allocations: 39.2 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.8141, allocations: 326 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.8143, allocations: 52.56 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.8144, allocations: 84.89 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.8147, allocations: 140.8 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8147, allocations: 0 / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003813/0.8151, allocations: 212.8 kB / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.8152, allocations: 41.84 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.8152, allocations: 3.25 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.8152, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.8153, allocations: 18.48 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.8153, allocations: 2.625 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.8155, allocations: 42.28 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.8156, allocations: 9.188 kB / 0.789 GB, free: 47.92 MB / 0.6544 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 8.001e-05/0.8157, allocations: 127.2 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.8157, allocations: 6.531 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.8157, allocations: 12.95 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8157, allocations: 0 / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8157, allocations: 0.6562 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.8157, allocations: 2.906 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.8161, allocations: 382.8 kB / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8162, allocations: 0 / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.8162, allocations: 9.078 kB / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8162, allocations: 2.688 kB / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.8162, allocations: 6.281 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8162, allocations: 1.219 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8163, allocations: 0 / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.8165, allocations: 216.7 kB / 0.7898 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.8165, allocations: 79.73 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.8166, allocations: 2.719 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.8167, allocations: 6.203 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.8167, allocations: 8.531 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.8167, allocations: 2.5 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.8168, allocations: 91.34 kB / 0.7899 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8168, allocations: 1.281 kB / 0.7899 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002615/0.8171, allocations: 32.66 kB / 0.79 GB, free: 47.19 MB / 0.6544 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.0001606/0.8172, allocations: 105.8 kB / 0.7901 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.8176, allocations: 178.7 kB / 0.7902 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8176, allocations: 4.094 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.8177, allocations: 47.86 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.818, allocations: 11.86 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.8184, allocations: 189.5 kB / 0.7905 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.8186, allocations: 0.6904 MB / 0.7912 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.8186, allocations: 12.78 kB / 0.7912 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.8186, allocations: 2.281 kB / 0.7912 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.003101/0.8217, allocations: 1.254 MB / 0.7924 GB, free: 46.16 MB / 0.6544 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)