Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.00129/0.00129, 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.001293/0.001293, allocations: 190.6 kB / 16.25 MB, free: 6.617 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.36/1.36, allocations: 205.1 MB / 222.1 MB, free: 4.758 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.529/1.529, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001271/0.001271, allocations: 68.84 kB / 0.6711 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001606/0.1648, allocations: 0.7786 MB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.166, allocations: 1.263 MB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.166, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1661, allocations: 3.938 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.1661, allocations: 15.86 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.1668, allocations: 289.2 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.167, allocations: 275.5 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.1671, allocations: 16.17 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.1672, allocations: 99.86 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.1673, allocations: 71.78 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.1673, allocations: 27.98 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.1674, allocations: 39.92 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.1674, allocations: 15.98 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.1675, allocations: 87.73 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1677, allocations: 215.7 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1677, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1677, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1678, allocations: 0 / 0.7861 GB, free: 10.6 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.0004488/0.1682, allocations: 496.3 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1682, allocations: 8.031 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.1683, allocations: 42.73 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.1683, allocations: 16.84 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.1684, allocations: 175.2 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1684, allocations: 12.36 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.1685, allocations: 20.36 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1686, allocations: 65.91 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1686, allocations: 0 / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.1686, allocations: 4 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1686, allocations: 0 / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.1687, allocations: 19.98 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1691, allocations: 412.5 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.1692, allocations: 34.5 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.1692, allocations: 28.88 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.1692, allocations: 4 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.1694, allocations: 91.36 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1694, allocations: 0 / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002389/0.1696, allocations: 137.5 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1696, allocations: 67.33 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.1697, allocations: 129.7 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1698, allocations: 37.64 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.1698, allocations: 100.2 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1699, allocations: 27.64 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.17, allocations: 65.67 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.1701, allocations: 322.8 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1702, allocations: 91.94 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1704, allocations: 134 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1706, allocations: 227 kB / 0.7887 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1706, allocations: 4 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004988/0.1711, allocations: 374.1 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.1712, allocations: 101.1 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1712, allocations: 0 / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1712, allocations: 4 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.911e-05/0.1712, allocations: 8 kB / 0.7892 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1713, allocations: 3.938 kB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.1717, allocations: 88.36 kB / 0.7893 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.1718, allocations: 19.98 kB / 0.7893 GB, free: 6.953 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 9.141e-05/0.1719, allocations: 137.7 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.1719, allocations: 11.89 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.1719, allocations: 12.31 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1719, allocations: 0 / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1719, allocations: 8 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1719, allocations: 0 / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.172, allocations: 193.5 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1721, allocations: 0 / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.1721, allocations: 3.938 kB / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1721, allocations: 0 / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1721, allocations: 8 kB / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1721, allocations: 0 / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1721, allocations: 0 / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.1723, allocations: 144.9 kB / 0.7898 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.1723, allocations: 81.02 kB / 0.7899 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1723, allocations: 4 kB / 0.7899 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.1723, allocations: 0 / 0.7899 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.1724, allocations: 11.98 kB / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1724, allocations: 7.984 kB / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.1724, allocations: 106.7 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1724, allocations: 0 / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002394/0.1727, allocations: 44 kB / 0.79 GB, free: 6.102 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003702/0.1731, allocations: 0.6748 MB / 0.7907 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.1734, allocations: 370.2 kB / 0.7911 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1735, allocations: 0 / 0.7911 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-05/0.1735, allocations: 44.23 kB / 0.7911 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1737, allocations: 28.2 kB / 0.7911 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1757, allocations: 2.071 MB / 0.7932 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.1759, allocations: 0.6962 MB / 0.7938 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.1759, allocations: 8.438 kB / 0.7938 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.1759, allocations: 27.42 kB / 0.7939 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1759, allocations: 0 / 0.7939 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9386/1.115, allocations: 3.686 MB / 0.7975 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.115, allocations: 194.9 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.838, allocations: 7.031 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)