Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.002029/0.002029, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002584/0.002583, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.493/1.493, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.822/1.822, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001465/0.001466, allocations: 70.72 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.003278/0.2978, allocations: 0.7604 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3002, allocations: 1.149 MB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.3003, allocations: 0 / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.3004, allocations: 3.938 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.401e-05/0.3005, allocations: 11.88 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.3013, allocations: 135.1 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.3015, allocations: 123.8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3017, allocations: 15.92 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3018, allocations: 47.84 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.302, allocations: 47.88 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.302, allocations: 12 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.3021, allocations: 20 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.3022, allocations: 15.92 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.3023, allocations: 47.83 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.3025, allocations: 112 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3026, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3026, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3026, allocations: 0 / 0.7859 GB, free: 10.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008648/0.3035, allocations: 416.9 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.3035, allocations: 12.03 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.3036, allocations: 34.69 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.3037, allocations: 12.84 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3039, allocations: 168.3 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3039, allocations: 12.38 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.304, allocations: 8.375 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3042, allocations: 66.22 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3043, allocations: 3.938 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3043, allocations: 4 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3043, allocations: 3.984 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.3046, allocations: 51.88 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.3054, allocations: 336.7 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.3057, allocations: 62.61 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.3058, allocations: 28.91 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.3059, allocations: 4 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.3063, allocations: 95.34 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.3063, allocations: 0 / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006416/0.3069, allocations: 141.6 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.307, allocations: 59.34 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3072, allocations: 117.8 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.3073, allocations: 33.64 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.3074, allocations: 96.12 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3074, allocations: 15.81 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3075, allocations: 37.7 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3077, allocations: 322.8 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.308, allocations: 55.95 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.3083, allocations: 84.25 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.3087, allocations: 141.9 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3087, allocations: 0 / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007355/0.3095, allocations: 211.1 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.3096, allocations: 41.64 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3096, allocations: 0 / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3096, allocations: 4 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3097, allocations: 11.98 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3098, allocations: 0 / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3101, allocations: 44.02 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3102, allocations: 8 kB / 0.7885 GB, free: 7.883 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001538/0.3103, allocations: 135.5 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.3103, allocations: 7.906 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.3104, allocations: 8.375 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3104, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3104, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3104, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.3111, allocations: 386.3 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3112, allocations: 0 / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.645e-05/0.3113, allocations: 7.984 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3113, allocations: 4 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3113, allocations: 4 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3113, allocations: 64 / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3113, allocations: 7.938 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.3118, allocations: 203.5 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.3119, allocations: 92.94 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.3119, allocations: 7.938 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3121, allocations: 4 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.3122, allocations: 11.92 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3122, allocations: 8 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.563e-05/0.3123, allocations: 91.27 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3123, allocations: 0 / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004786/0.3128, allocations: 28 kB / 0.7895 GB, free: 6.801 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 (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 (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.0009513/0.3137, allocations: 0.7518 MB / 0.7902 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.3144, allocations: 183.2 kB / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3144, allocations: 0 / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3146, allocations: 39.97 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3151, allocations: 25.06 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.3176, allocations: 1.671 MB / 0.7921 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.3179, allocations: 0.6914 MB / 0.7928 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.479e-05/0.318, allocations: 8 kB / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.3181, allocations: 23.42 kB / 0.7928 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.3181, allocations: 7.938 kB / 0.7928 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.3378, allocations: 2.54 MB / 0.7953 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.408, allocations: 8.562 kB / 0.7953 GB, free: 0.7734 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)