Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.0008848/0.0008845, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005546/0.005546, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.205/1.205, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.537/1.537, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000467/0.000467, allocations: 15.06 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1681, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0007314/0.1688, allocations: 406.4 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1703, allocations: 1.204 MB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.1703, allocations: 0 / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.1704, allocations: 0 / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.1704, allocations: 7.938 kB / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.171, allocations: 198.3 kB / 0.7898 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1712, allocations: 151.7 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.686e-05/0.1713, allocations: 7.984 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.1714, allocations: 63.89 kB / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.523e-05/0.1715, allocations: 47.86 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1715, allocations: 8 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.1716, allocations: 19.98 kB / 0.7901 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.1716, allocations: 7.938 kB / 0.7901 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.1717, allocations: 81.52 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1719, allocations: 143.9 kB / 0.7903 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1719, allocations: 0 / 0.7903 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1719, allocations: 0 / 0.7903 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1719, allocations: 0 / 0.7903 GB, free: 9.141 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.0004051/0.1723, allocations: 414.8 kB / 0.7907 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1723, allocations: 8.031 kB / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.1724, allocations: 30.75 kB / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.1724, allocations: 16.78 kB / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.1725, allocations: 168.4 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1725, allocations: 8.375 kB / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1726, allocations: 8.375 kB / 0.7909 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.1727, allocations: 42.25 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1727, allocations: 7.938 kB / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1727, allocations: 3.984 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1727, allocations: 4 kB / 0.791 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.1727, allocations: 16 kB / 0.791 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.1732, allocations: 360.5 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.1732, allocations: 38.56 kB / 0.7914 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.1733, allocations: 8.859 kB / 0.7914 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.1733, allocations: 0 / 0.7914 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.1734, allocations: 95.41 kB / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.335e-06/0.1734, allocations: 3.984 kB / 0.7915 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002015/0.1736, allocations: 101.8 kB / 0.7916 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1737, allocations: 59.39 kB / 0.7916 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.1738, allocations: 117.8 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1738, allocations: 29.7 kB / 0.7918 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.1739, allocations: 100 kB / 0.7919 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.1739, allocations: 15.89 kB / 0.7919 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1739, allocations: 21.72 kB / 0.7919 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.174, allocations: 318.8 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1741, allocations: 63.91 kB / 0.7923 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1743, allocations: 92.62 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1744, allocations: 159.7 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1745, allocations: 4 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003682/0.1748, allocations: 256.8 kB / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.1749, allocations: 67.39 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1749, allocations: 4.203 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1749, allocations: 4 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.958e-05/0.1749, allocations: 8 kB / 0.7928 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1749, allocations: 7.922 kB / 0.7928 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.1753, allocations: 86.72 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.1754, allocations: 11.98 kB / 0.7929 GB, free: 6.121 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,or1.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.241e-05/0.1754, allocations: 121.8 kB / 0.793 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.1755, allocations: 8 kB / 0.793 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.1755, allocations: 4.375 kB / 0.7931 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1755, allocations: 4 kB / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1755, allocations: 4 kB / 0.7931 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1755, allocations: 0 / 0.7931 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1756, allocations: 185.5 kB / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1756, allocations: 0 / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-06/0.1756, allocations: 0 / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1757, allocations: 0 / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1757, allocations: 4 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1757, allocations: 0 / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1757, allocations: 0 / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.1758, allocations: 121 kB / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.1758, allocations: 81.02 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1759, allocations: 3.984 kB / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.1759, allocations: 0 / 0.7934 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.1759, allocations: 7.938 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1759, allocations: 11.98 kB / 0.7935 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.176, allocations: 91.22 kB / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.176, allocations: 0 / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002188/0.1762, allocations: 31.98 kB / 0.7936 GB, free: 5.359 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,or1.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.0003746/0.1766, allocations: 0.6513 MB / 0.7942 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1769, allocations: 250.7 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1769, allocations: 0 / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.132e-05/0.177, allocations: 28.23 kB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1772, allocations: 15.98 kB / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1787, allocations: 1.711 MB / 0.7962 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.1789, allocations: 0.6848 MB / 0.7968 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.179, allocations: 7.984 kB / 0.7968 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.179, allocations: 19.44 kB / 0.7969 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.179, allocations: 4 kB / 0.7969 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6475/0.8265, allocations: 2.602 MB / 0.7994 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.8267, allocations: 203.4 kB / 0.7996 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.807, allocations: 0 / 0.7996 GB, free: 15.07 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)