Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 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.001012/0.001012, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.274/1.274, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.533/1.533, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001268/0.001268, allocations: 76.5 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1664, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001713/0.1681, allocations: 0.7681 MB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1693, allocations: 1.142 MB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.1693, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.1694, allocations: 11.88 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.1694, allocations: 11.92 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1698, allocations: 126.9 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1699, allocations: 123.8 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.17, allocations: 15.97 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.1701, allocations: 43.91 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.1702, allocations: 43.83 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1702, allocations: 15.94 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.1703, allocations: 20 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.1703, allocations: 15.91 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.1704, allocations: 43.84 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1705, allocations: 108 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1705, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1705, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.1705, allocations: 0 / 0.7859 GB, free: 10.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000469/0.171, allocations: 408.9 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.171, allocations: 12.02 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.1711, allocations: 38.75 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.1711, allocations: 12.84 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.019e-05/0.1712, allocations: 176.2 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1712, allocations: 8.375 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1713, allocations: 16.3 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1714, allocations: 62.17 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1715, allocations: 3.938 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1715, allocations: 4 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1715, allocations: 0 / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1716, allocations: 47.88 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.172, allocations: 336.7 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1722, allocations: 62.55 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.1723, allocations: 28.97 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.1723, allocations: 4 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.1725, allocations: 87.44 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1725, allocations: 0 / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003852/0.1729, allocations: 149.4 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.173, allocations: 55.41 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.173, allocations: 117.8 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1731, allocations: 25.7 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.1731, allocations: 96.03 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1731, allocations: 15.81 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.1732, allocations: 37.7 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.1733, allocations: 326.8 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1734, allocations: 55.95 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1736, allocations: 80.25 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.1739, allocations: 145.9 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1739, allocations: 0 / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003903/0.1743, allocations: 211.1 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.1743, allocations: 37.7 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1743, allocations: 0 / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1743, allocations: 4.125 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1744, allocations: 19.86 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1744, allocations: 4 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.1746, allocations: 35.89 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1747, allocations: 8 kB / 0.7885 GB, free: 7.871 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,edge1.y,edge1.u,$PRE.edge1.u,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 7.725e-05/0.1747, allocations: 125.8 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.1748, allocations: 11.91 kB / 0.7886 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.1748, allocations: 8.375 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1748, allocations: 4 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1748, allocations: 0 / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1748, allocations: 0 / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.1752, allocations: 374.7 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1752, allocations: 0 / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.1753, allocations: 15.98 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1753, allocations: 0 / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1753, allocations: 64 / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1753, allocations: 4 kB / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1753, allocations: 0 / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1756, allocations: 223.3 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.1756, allocations: 85.02 kB / 0.7893 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1756, allocations: 7.984 kB / 0.7893 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.1757, allocations: 4 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.1758, allocations: 11.92 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1758, allocations: 4 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.1758, allocations: 91.27 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1758, allocations: 0 / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002378/0.1761, allocations: 24 kB / 0.7895 GB, free: 6.797 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 (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 (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.0005045/0.1766, allocations: 0.7592 MB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.1769, allocations: 175.3 kB / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1769, allocations: 4.25 kB / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.177, allocations: 35.98 kB / 0.7904 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1773, allocations: 15.92 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.179, allocations: 1.69 MB / 0.7921 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1792, allocations: 0.6885 MB / 0.7928 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.1793, allocations: 4 kB / 0.7928 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1793, allocations: 15.44 kB / 0.7928 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1793, allocations: 0 / 0.7928 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4908/0.6701, allocations: 2.52 MB / 0.7952 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.83, allocations: 7.219 kB / 0.7952 GB, free: 0.7969 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)