Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.499/1.499, allocations: 288.4 MB / 303.6 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009441/0.000944, allocations: 183.4 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.4 MB / 0.631 GB, free: 9.781 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006811/0.0006812, allocations: 90.3 kB / 0.7444 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 25.58 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1413, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0006301/0.1419, allocations: 466.6 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009028/0.1428, allocations: 1.13 MB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.1429, allocations: 0 / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.1429, allocations: 3.984 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.143, allocations: 7.922 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1433, allocations: 118.7 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.1434, allocations: 99.75 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.1435, allocations: 11.98 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.1436, allocations: 39.91 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.1436, allocations: 35.89 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1437, allocations: 4 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.1437, allocations: 19.98 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1437, allocations: 15.92 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.1438, allocations: 61.61 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.34e-05/0.1439, allocations: 72.09 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1439, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1439, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.1439, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 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.0003792/0.1443, allocations: 404.9 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1443, allocations: 8.031 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.194e-05/0.1444, allocations: 42.69 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.1444, allocations: 4.938 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.956e-05/0.1445, allocations: 172.3 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1445, allocations: 8.375 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1445, allocations: 4.375 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1447, allocations: 74.16 kB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.1447, allocations: 3.938 kB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1447, allocations: 0 / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1447, allocations: 8 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1449, allocations: 55.89 kB / 0.983 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1452, allocations: 336.6 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1454, allocations: 62.61 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.1455, allocations: 44.95 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1455, allocations: 3.938 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1457, allocations: 87.36 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.1457, allocations: 4 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003568/0.146, allocations: 153.5 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.1461, allocations: 55.47 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.1461, allocations: 121.8 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1462, allocations: 41.64 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.1462, allocations: 88.14 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1462, allocations: 19.8 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.1462, allocations: 0 / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.553e-05/0.1463, allocations: 322.8 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1464, allocations: 55.95 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1466, allocations: 92.25 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1468, allocations: 149.9 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1468, allocations: 0 / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003502/0.1472, allocations: 223.1 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.1472, allocations: 33.7 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1472, allocations: 3.984 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.1472, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.1473, allocations: 16 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1473, allocations: 3.984 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1475, allocations: 55.88 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1475, allocations: 11.98 kB / 0.9849 GB, free: 22.11 MB / 0.6198 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 6.319e-05/0.1476, allocations: 139.8 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.1476, allocations: 11.89 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.1477, allocations: 8.375 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1477, allocations: 0 / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1477, allocations: 3.938 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1477, allocations: 3.984 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.148, allocations: 390.8 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.148, allocations: 0 / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.1481, allocations: 11.98 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1481, allocations: 0 / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1481, allocations: 4 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1481, allocations: 0 / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1481, allocations: 0 / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1483, allocations: 231.4 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.1484, allocations: 81.09 kB / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1484, allocations: 0 / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.1485, allocations: 12 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.1485, allocations: 15.86 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1485, allocations: 4 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.581e-05/0.1485, allocations: 91.27 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1486, allocations: 0 / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002253/0.1488, allocations: 31.91 kB / 0.9859 GB, free: 21 MB / 0.6198 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.0003764/0.1492, allocations: 0.7476 MB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.1495, allocations: 187.3 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1495, allocations: 0 / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1496, allocations: 51.89 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1498, allocations: 20.19 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.1507, allocations: 0.6854 MB / 0.9875 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.326e-05/0.1508, allocations: 0.6923 MB / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.1509, allocations: 7.781 kB / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1509, allocations: 23.42 kB / 0.9882 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.1509, allocations: 0 / 0.9882 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3585/0.5094, allocations: 2.216 MB / 0.9904 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.5097, allocations: 197.5 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.058, allocations: 3.875 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)