Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009595/0.0009597, allocations: 172 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.578 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 88.45 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005176, allocations: 12.38 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3257, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001803/0.3275, allocations: 1.187 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005095/0.3281, allocations: 220.3 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.3281, allocations: 0 / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.3282, allocations: 3.938 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3283, allocations: 11.92 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3285, allocations: 23.98 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.3286, allocations: 55.78 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3288, allocations: 15.98 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.3289, allocations: 23.92 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.329, allocations: 23.91 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.329, allocations: 3.938 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.329, allocations: 4 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.329, allocations: 0 / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.3291, allocations: 53.56 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3292, allocations: 55.77 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3292, allocations: 3.938 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3292, allocations: 0 / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3293, allocations: 0 / 0.9026 GB, free: 61.69 MB / 0.6042 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.0006104/0.3299, allocations: 375.7 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.3299, allocations: 8.031 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.33, allocations: 34.75 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.33, allocations: 8.844 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3302, allocations: 176.2 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3302, allocations: 12.38 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3302, allocations: 4.375 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3304, allocations: 66.23 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3304, allocations: 3.938 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3304, allocations: 11.91 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3305, allocations: 0 / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.3307, allocations: 59.95 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.3311, allocations: 304.8 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.3315, allocations: 126.5 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.3316, allocations: 32.95 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3317, allocations: 0 / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3319, allocations: 91.38 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3319, allocations: 0 / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003931/0.3323, allocations: 149.5 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3323, allocations: 55.34 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.3324, allocations: 117.8 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3324, allocations: 25.7 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.3325, allocations: 100 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.3325, allocations: 15.81 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.3325, allocations: 4 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.3326, allocations: 326.8 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.3327, allocations: 35.92 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3328, allocations: 59.41 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.333, allocations: 91.89 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.333, allocations: 0 / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002303/0.3333, allocations: 121.6 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3333, allocations: 7.938 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3333, allocations: 0 / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3333, allocations: 4 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.3334, allocations: 20.02 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3334, allocations: 4 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.3335, allocations: 23.89 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3335, allocations: 4 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.991e-05/0.3336, allocations: 125 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.3336, allocations: 4 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3336, allocations: 12.38 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3337, allocations: 3.938 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3337, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3337, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.3341, allocations: 378.4 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3341, allocations: 0 / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.3341, allocations: 8 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3341, allocations: 0 / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3342, allocations: 7.984 kB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3342, allocations: 0 / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3342, allocations: 7.875 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.3344, allocations: 203.5 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.3344, allocations: 92.94 kB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3345, allocations: 0 / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3346, allocations: 19.98 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.3346, allocations: 15.92 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3346, allocations: 4.062 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.3347, allocations: 91.27 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3347, allocations: 0 / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002071/0.3349, allocations: 12 kB / 0.9059 GB, free: 57.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0004525/0.3354, allocations: 0.7436 MB / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3356, allocations: 87.88 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3356, allocations: 3.938 kB / 0.9067 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3357, allocations: 39.97 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.336, allocations: 16.41 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3374, allocations: 1.497 MB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3376, allocations: 0.6887 MB / 0.9089 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.3376, allocations: 11.8 kB / 0.9089 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.3377, allocations: 19.42 kB / 0.9089 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.3377, allocations: 0 / 0.9089 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.3487, allocations: 1.644 MB / 0.9105 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.3489, allocations: 210 kB / 0.9107 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.109, allocations: 2.391 kB / 0.9107 GB, free: 52.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)