Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.001374/0.001374, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 187.3 kB / 16.25 MB, free: 6.621 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.349/1.349, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.543/1.543, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.00134/0.00134, allocations: 70.75 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1736, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00162/0.1752, allocations: 0.728 MB / 0.7837 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1764, allocations: 1.196 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.1764, allocations: 0 / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.1765, allocations: 0 / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.1765, allocations: 7.922 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.177, allocations: 210.6 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1772, allocations: 175.8 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.23e-05/0.1773, allocations: 4 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.1774, allocations: 75.81 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.1774, allocations: 51.81 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1775, allocations: 12 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.1776, allocations: 35.97 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1776, allocations: 11.94 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.1776, allocations: 59.83 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1778, allocations: 151.9 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1778, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1778, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1778, allocations: 0 / 0.7856 GB, free: 11.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004167/0.1783, allocations: 441.1 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1783, allocations: 8.031 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.339e-05/0.1783, allocations: 30.75 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1784, allocations: 12.94 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.1785, allocations: 176.2 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1785, allocations: 8.375 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1785, allocations: 8.375 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.1786, allocations: 50.25 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1786, allocations: 7.922 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1786, allocations: 0 / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1786, allocations: 0 / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.1787, allocations: 15.98 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1791, allocations: 356.6 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.1791, allocations: 38.56 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.1792, allocations: 12.86 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.1792, allocations: 4 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.1793, allocations: 83.36 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.815e-06/0.1793, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0001982/0.1795, allocations: 109.5 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1796, allocations: 55.41 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.1796, allocations: 121.7 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1797, allocations: 29.7 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.1797, allocations: 88.14 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.1798, allocations: 23.78 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.1798, allocations: 49.69 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.1799, allocations: 318.8 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1801, allocations: 63.95 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1802, allocations: 92.2 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1804, allocations: 159.6 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.1804, allocations: 4 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000358/0.1807, allocations: 256.9 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.1808, allocations: 67.39 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1808, allocations: 4 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1808, allocations: 0 / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/0.1808, allocations: 4 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1808, allocations: 0 / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.1812, allocations: 59.91 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.1812, allocations: 15.98 kB / 0.7883 GB, free: 8.062 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.295e-05/0.1813, allocations: 125.7 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1813, allocations: 11.89 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.1813, allocations: 8.844 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1813, allocations: 64 / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1814, allocations: 8 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1814, allocations: 0 / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.1815, allocations: 181.6 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1815, allocations: 3.938 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-06/0.1815, allocations: 0 / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1815, allocations: 0 / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1815, allocations: 4 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1815, allocations: 0 / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1815, allocations: 0 / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1816, allocations: 121 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1817, allocations: 81.02 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1817, allocations: 3.938 kB / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.1817, allocations: 4 kB / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.1818, allocations: 7.984 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1818, allocations: 4 kB / 0.7888 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.1818, allocations: 91.27 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002126/0.182, allocations: 28 kB / 0.7889 GB, free: 7.297 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * 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.0003504/0.1824, allocations: 0.662 MB / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1827, allocations: 243.1 kB / 0.7898 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1827, allocations: 0 / 0.7898 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.1827, allocations: 28 kB / 0.7898 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1829, allocations: 24.38 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1845, allocations: 1.715 MB / 0.7915 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.1847, allocations: 0.6884 MB / 0.7922 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.1847, allocations: 4 kB / 0.7922 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.1848, allocations: 15.44 kB / 0.7922 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1848, allocations: 0 / 0.7922 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/1.328, allocations: 2.763 MB / 0.7949 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/1.329, allocations: 206.8 kB / 0.7951 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/3.05, allocations: 0 / 0.7951 GB, free: 0.8242 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)