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.001479/0.001478, allocations: 109.4 kB / 15.69 MB, free: 128 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.001724/0.001724, allocations: 187.5 kB / 16.62 MB, free: 6.582 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.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.718/1.718, allocations: 292.3 MB / 0.549 GB, free: 12.66 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.001452/0.001452, allocations: 77.64 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2222, allocations: 114.5 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002049/0.2243, allocations: 0.7678 MB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2256, allocations: 1.153 MB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.2257, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.2257, allocations: 3.938 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.2258, allocations: 15.86 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.2263, allocations: 130.6 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.2265, allocations: 127.8 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.2266, allocations: 12 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.2267, allocations: 47.84 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2268, allocations: 47.86 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2268, allocations: 8 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.52e-05/0.2269, allocations: 31.92 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2269, allocations: 19.92 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.227, allocations: 47.83 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.2272, allocations: 108 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2272, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2272, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2272, allocations: 0 / 0.7861 GB, free: 10.67 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.0005886/0.2278, allocations: 416.9 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2279, allocations: 12.03 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.2279, allocations: 34.73 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.228, allocations: 12.84 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2281, allocations: 172.3 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2281, allocations: 8.312 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.2281, allocations: 8.375 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.2283, allocations: 70.2 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2284, allocations: 3.938 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2284, allocations: 3.938 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2284, allocations: 0 / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.2286, allocations: 47.95 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.2291, allocations: 344.6 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.2293, allocations: 54.62 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2294, allocations: 36.95 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2294, allocations: 0 / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.2296, allocations: 91.3 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2296, allocations: 0 / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004409/0.2301, allocations: 137.8 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2301, allocations: 63.33 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2303, allocations: 125.7 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2303, allocations: 29.7 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.2304, allocations: 92.14 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2304, allocations: 11.8 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.2305, allocations: 37.7 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2306, allocations: 326.8 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2307, allocations: 55.97 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.2309, allocations: 88.19 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.2312, allocations: 142 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2312, allocations: 0 / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004115/0.2316, allocations: 203.2 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.2317, allocations: 44.19 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2317, allocations: 0 / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2317, allocations: 8.125 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.2318, allocations: 15.92 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2318, allocations: 0 / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.232, allocations: 39.89 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.232, allocations: 8 kB / 0.7887 GB, free: 7.695 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 8.853e-05/0.2321, allocations: 117.8 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2321, allocations: 11.91 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.2322, allocations: 16.36 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2322, allocations: 0 / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2322, allocations: 3.938 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2322, allocations: 0 / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.2327, allocations: 374.4 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2327, allocations: 4.062 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.2327, allocations: 12 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2328, allocations: 3.938 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2328, allocations: 11.92 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2328, allocations: 4 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2328, allocations: 3.938 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.2331, allocations: 207.4 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.2331, allocations: 85.02 kB / 0.7895 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2332, allocations: 8 kB / 0.7895 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.2333, allocations: 7.984 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.2333, allocations: 11.92 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2333, allocations: 0 / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.2334, allocations: 87.28 kB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2334, allocations: 0 / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002584/0.2336, allocations: 31.98 kB / 0.7897 GB, free: 6.613 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.000608/0.2342, allocations: 0.7435 MB / 0.7904 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.2346, allocations: 183.2 kB / 0.7906 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2346, allocations: 256 / 0.7906 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2348, allocations: 47.91 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2351, allocations: 15.92 kB / 0.7906 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.237, allocations: 1.689 MB / 0.7923 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.2372, allocations: 0.6953 MB / 0.793 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.2373, allocations: 8 kB / 0.793 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.2373, allocations: 23.42 kB / 0.793 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2373, allocations: 0 / 0.793 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.2545, allocations: 2.544 MB / 0.7955 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.923, allocations: 6.812 kB / 0.7955 GB, free: 0.5977 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)