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.372/1.372, allocations: 252 MB / 267 MB, free: 10.97 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.0009528/0.0009527, allocations: 190.3 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0007332/0.0007331, allocations: 91.16 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005197, allocations: 9.062 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 106.3 MB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001694/0.2495, allocations: 1.172 MB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005037/0.25, allocations: 224.3 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.2501, allocations: 3.938 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.2501, allocations: 0 / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.2503, allocations: 3.938 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2505, allocations: 23.91 kB / 0.9017 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.2506, allocations: 55.84 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2508, allocations: 11.98 kB / 0.9018 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.2509, allocations: 15.94 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.2509, allocations: 27.91 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.251, allocations: 0 / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.251, allocations: 4 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.251, allocations: 11.92 kB / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.2511, allocations: 29.7 kB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.588e-05/0.2512, allocations: 39.91 kB / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2512, allocations: 0 / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2512, allocations: 3.938 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2512, allocations: 0 / 0.9019 GB, free: 62.66 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.0005568/0.2518, allocations: 383.4 kB / 0.9023 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.2518, allocations: 8.031 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2519, allocations: 34.56 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.2519, allocations: 7.906 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.252, allocations: 175 kB / 0.9025 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.252, allocations: 4 kB / 0.9025 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2521, allocations: 4 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.2523, allocations: 69.67 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2523, allocations: 0 / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2523, allocations: 3.984 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2523, allocations: 3.938 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.2525, allocations: 63.89 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.253, allocations: 304.7 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.2534, allocations: 126.5 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.2536, allocations: 40.89 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2536, allocations: 0 / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.2538, allocations: 87.38 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2539, allocations: 0 / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000412/0.2543, allocations: 141.8 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.2543, allocations: 59.36 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.2544, allocations: 118 kB / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2544, allocations: 25.7 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.2545, allocations: 96.19 kB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2545, allocations: 19.75 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.2545, allocations: 4 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.2546, allocations: 314.8 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2547, allocations: 35.98 kB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2548, allocations: 59.41 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.2549, allocations: 31.98 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2549, allocations: 4 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002473/0.2552, allocations: 133.5 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2552, allocations: 4 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2552, allocations: 4.016 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2552, allocations: 4 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.2553, allocations: 11.98 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2553, allocations: 11.94 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.2554, allocations: 20.58 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2554, allocations: 64 / 0.9042 GB, free: 60.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.2555, allocations: 121.8 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.2555, allocations: 7.906 kB / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.2556, allocations: 16.36 kB / 0.9043 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2556, allocations: 0 / 0.9043 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2556, allocations: 3.938 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2556, allocations: 3.953 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.256, allocations: 370.5 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.256, allocations: 0 / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.2561, allocations: 15.92 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.2561, allocations: 0 / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2561, allocations: 8 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2561, allocations: 3.953 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2561, allocations: 0 / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.2563, allocations: 207.4 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.2564, allocations: 81.02 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2564, allocations: 4 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2565, allocations: 15.98 kB / 0.905 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.2566, allocations: 11.94 kB / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.2566, allocations: 7.984 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.2566, allocations: 87.28 kB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2566, allocations: 7.938 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002199/0.2569, allocations: 19.94 kB / 0.9052 GB, free: 58.98 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 (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.0004689/0.2573, allocations: 0.7397 MB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.2576, allocations: 79.88 kB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2576, allocations: 0 / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2577, allocations: 48.11 kB / 0.906 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.258, allocations: 16.91 kB / 0.906 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.2589, allocations: 0.5633 MB / 0.9066 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2591, allocations: 0.6887 MB / 0.9072 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.2591, allocations: 7.859 kB / 0.9073 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.2592, allocations: 23.42 kB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2592, allocations: 0 / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.2709, allocations: 1.64 MB / 0.9089 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.2711, allocations: 202.9 kB / 0.9091 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.996, allocations: 0 / 0.9091 GB, free: 54.97 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)