Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.001072/0.001072, 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.001017/0.001017, allocations: 194 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.147/1.147, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.516/1.516, allocations: 292.3 MB / 0.5489 GB, free: 13.53 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.001269/0.001269, allocations: 69.72 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1674, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003143/0.1706, allocations: 1.96 MB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1721, allocations: 1.019 MB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1723, allocations: 4 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1727, allocations: 107.5 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1729, allocations: 99.58 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1733, allocations: 130.1 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.1735, allocations: 211.5 kB / 0.7869 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1737, allocations: 57.89 kB / 0.787 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1738, allocations: 91.62 kB / 0.7871 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1739, allocations: 95.55 kB / 0.7872 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.174, allocations: 19.92 kB / 0.7872 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1741, allocations: 71.97 kB / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.1742, allocations: 51.83 kB / 0.7873 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.1743, allocations: 91.41 kB / 0.7874 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1746, allocations: 279.3 kB / 0.7877 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1746, allocations: 3.938 kB / 0.7877 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1746, allocations: 0 / 0.7877 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1746, allocations: 4 kB / 0.7877 GB, free: 9.176 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007018/0.1753, allocations: 0.5255 MB / 0.7882 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1753, allocations: 16.03 kB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.1754, allocations: 38.73 kB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1754, allocations: 24.66 kB / 0.7882 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1758, allocations: 307.7 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1758, allocations: 8.125 kB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1758, allocations: 11.98 kB / 0.7886 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.176, allocations: 93.64 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.176, allocations: 0 / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1761, allocations: 4 kB / 0.7887 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1761, allocations: 0 / 0.7887 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1762, allocations: 51.98 kB / 0.7887 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.1768, allocations: 456.4 kB / 0.7891 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.177, allocations: 82.61 kB / 0.7892 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.1771, allocations: 28.84 kB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1771, allocations: 0 / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1773, allocations: 79.3 kB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1773, allocations: 0 / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003096/0.1776, allocations: 137.4 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1776, allocations: 59.34 kB / 0.7895 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.178, allocations: 366.9 kB / 0.7899 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.178, allocations: 25.7 kB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.1781, allocations: 144 kB / 0.79 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1781, allocations: 11.81 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.1782, allocations: 49.59 kB / 0.7901 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.1783, allocations: 338.8 kB / 0.7904 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1784, allocations: 55.98 kB / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1785, allocations: 80.12 kB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1787, allocations: 89.69 kB / 0.7906 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1787, allocations: 0 / 0.7906 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002858/0.179, allocations: 193.2 kB / 0.7908 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.179, allocations: 4 kB / 0.7908 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.179, allocations: 4.031 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.179, allocations: 4 kB / 0.7908 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1791, allocations: 35.86 kB / 0.7908 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1791, allocations: 4 kB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.1792, allocations: 11.92 kB / 0.7909 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1793, allocations: 7.938 kB / 0.7909 GB, free: 5.637 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001113/0.1794, allocations: 152.3 kB / 0.791 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1794, allocations: 27.66 kB / 0.791 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.1795, allocations: 29.73 kB / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1795, allocations: 0 / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1795, allocations: 0 / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1795, allocations: 4 kB / 0.7911 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1797, allocations: 245.5 kB / 0.7913 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1797, allocations: 3.938 kB / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.1797, allocations: 7.938 kB / 0.7913 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1797, allocations: 3.984 kB / 0.7913 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1797, allocations: 4 kB / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1797, allocations: 0 / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1797, allocations: 0 / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.1799, allocations: 136.8 kB / 0.7915 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.18, allocations: 104.8 kB / 0.7916 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.18, allocations: 0 / 0.7916 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.1801, allocations: 11.98 kB / 0.7916 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.1802, allocations: 11.98 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1802, allocations: 3.984 kB / 0.7916 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002105/0.1804, allocations: 237.9 kB / 0.7918 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1804, allocations: 0 / 0.7918 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000233/0.1806, allocations: 43.83 kB / 0.7919 GB, free: 4.539 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * 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.001154/0.1818, allocations: 0.9858 MB / 0.7928 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.182, allocations: 115.9 kB / 0.7929 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1821, allocations: 4 kB / 0.7929 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.1821, allocations: 31.92 kB / 0.793 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1824, allocations: 61.2 kB / 0.793 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1847, allocations: 2.347 MB / 0.7953 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1849, allocations: 0.7437 MB / 0.796 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.314e-05/0.185, allocations: 29.95 kB / 0.7961 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.1851, allocations: 67.41 kB / 0.7961 GB, free: 184 kB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.1851, allocations: 0 / 0.7961 GB, free: 184 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.437/1.622, allocations: 5.137 MB / 0.8011 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.76, allocations: 10.61 kB / 0.8012 GB, free: 11.14 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)