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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009285, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001097/0.001097, allocations: 168.7 kB / 15.95 MB, free: 204 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.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.674/1.674, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0006389/0.0006391, allocations: 15.06 kB / 0.6739 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2858, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001082/0.287, allocations: 474.1 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2888, allocations: 1.13 MB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.2889, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.289, allocations: 3.938 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.2891, allocations: 7.938 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.2898, allocations: 123.3 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.2899, allocations: 103.7 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2901, allocations: 11.97 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2902, allocations: 39.91 kB / 0.7893 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.2903, allocations: 39.83 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.2903, allocations: 4 kB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.2904, allocations: 23.92 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.2905, allocations: 7.984 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.2906, allocations: 37.7 kB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2907, allocations: 76.09 kB / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2907, allocations: 0 / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2907, allocations: 3.938 kB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2908, allocations: 0 / 0.7894 GB, free: 9.723 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.0006467/0.2914, allocations: 400.8 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2915, allocations: 8.031 kB / 0.7898 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.2915, allocations: 34.56 kB / 0.7899 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.2916, allocations: 8 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2917, allocations: 174.9 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2918, allocations: 8 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2918, allocations: 4 kB / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.292, allocations: 69.66 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.292, allocations: 0 / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2921, allocations: 0 / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2921, allocations: 8 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.2923, allocations: 55.89 kB / 0.7902 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.2929, allocations: 336.7 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.293, allocations: 62.55 kB / 0.7906 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2932, allocations: 48.95 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2932, allocations: 0 / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.2934, allocations: 95.27 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.487e-06/0.2935, allocations: 0 / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004494/0.2939, allocations: 157.6 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.294, allocations: 55.34 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2941, allocations: 125.7 kB / 0.791 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.2941, allocations: 33.7 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.2942, allocations: 92.14 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2942, allocations: 19.8 kB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.2942, allocations: 0 / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2944, allocations: 318.8 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2946, allocations: 55.95 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.2948, allocations: 96.25 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2949, allocations: 81.69 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.295, allocations: 4 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004955/0.2955, allocations: 215.1 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.2955, allocations: 40.5 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2955, allocations: 4.125 kB / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2956, allocations: 7.938 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2957, allocations: 19.98 kB / 0.792 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2957, allocations: 3.938 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.2959, allocations: 54.98 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.296, allocations: 11.95 kB / 0.792 GB, free: 6.805 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 0.0001907/0.2962, allocations: 117.8 kB / 0.7921 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.2962, allocations: 7.906 kB / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.2962, allocations: 16.36 kB / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2962, allocations: 0 / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2962, allocations: 0 / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2962, allocations: 0 / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.2967, allocations: 394.3 kB / 0.7925 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2968, allocations: 0 / 0.7925 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.2968, allocations: 12 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.2968, allocations: 0 / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2969, allocations: 7.922 kB / 0.7926 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2969, allocations: 0 / 0.7926 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2969, allocations: 4 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.2972, allocations: 227.8 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.2972, allocations: 89 kB / 0.7929 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2973, allocations: 0 / 0.7929 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.2973, allocations: 11.98 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.2974, allocations: 3.984 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2974, allocations: 8 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.2975, allocations: 95.22 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2975, allocations: 4 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002703/0.2978, allocations: 20 kB / 0.793 GB, free: 5.707 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 (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.0007278/0.2985, allocations: 0.7514 MB / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.2989, allocations: 187.2 kB / 0.7939 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2989, allocations: 8.25 kB / 0.7939 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.2991, allocations: 43.97 kB / 0.794 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.2994, allocations: 12.86 kB / 0.794 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3007, allocations: 0.6912 MB / 0.7947 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3011, allocations: 0.6884 MB / 0.7953 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.892e-05/0.3012, allocations: 7.984 kB / 0.7953 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.3013, allocations: 23.44 kB / 0.7954 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3013, allocations: 3.938 kB / 0.7954 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.316, allocations: 2.2 MB / 0.7975 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.3162, allocations: 189.2 kB / 0.7977 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.085, allocations: 3.234 kB / 0.7977 GB, free: 0.8633 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: