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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001165/0.001165, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.154/1.154, allocations: 205.1 MB / 222 MB, free: 4.754 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.5/1.5, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001274/0.001274, allocations: 75.03 kB / 0.671 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1668, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002749/0.1696, allocations: 2.003 MB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1709, allocations: 1.008 MB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.171, allocations: 11.94 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1713, allocations: 95.69 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1714, allocations: 87.7 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1717, allocations: 115 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1719, allocations: 207.4 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1721, allocations: 61.89 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1722, allocations: 83.56 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1723, allocations: 95.59 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1723, allocations: 4 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1724, allocations: 59.91 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.1725, allocations: 51.81 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.1726, allocations: 79.42 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.1728, allocations: 275.3 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1728, allocations: 0 / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1729, allocations: 0 / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1729, allocations: 0 / 0.7869 GB, free: 9.652 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.0006332/0.1735, allocations: 0.5372 MB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.1735, allocations: 12.03 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.1736, allocations: 38.73 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1736, allocations: 28.66 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1739, allocations: 303.7 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.174, allocations: 12.11 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.174, allocations: 8 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1742, allocations: 98.53 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1742, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1742, allocations: 7.984 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1742, allocations: 0 / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1743, allocations: 51.97 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.1749, allocations: 452.4 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1751, allocations: 74.66 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.1752, allocations: 28.84 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1752, allocations: 4 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.1754, allocations: 79.27 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1754, allocations: 0 / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000286/0.1757, allocations: 133.4 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1757, allocations: 55.41 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.176, allocations: 370.9 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1761, allocations: 25.7 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.1761, allocations: 140 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.1762, allocations: 15.81 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.1762, allocations: 49.61 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.1763, allocations: 338.8 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1764, allocations: 59.91 kB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1766, allocations: 80.28 kB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1767, allocations: 88.09 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1767, allocations: 0 / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000286/0.177, allocations: 209.2 kB / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.177, allocations: 4 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.177, allocations: 0 / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.177, allocations: 4 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1772, allocations: 19.98 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1772, allocations: 0 / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.1773, allocations: 15.88 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1773, allocations: 15.92 kB / 0.7902 GB, free: 6.109 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.0001133/0.1774, allocations: 149.9 kB / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1775, allocations: 27.66 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.1775, allocations: 25.73 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1775, allocations: 0 / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1775, allocations: 0 / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1775, allocations: 4 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1777, allocations: 249.5 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1777, allocations: 3.938 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.1777, allocations: 4 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1777, allocations: 4 kB / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1777, allocations: 8 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1778, allocations: 0 / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1778, allocations: 3.984 kB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.178, allocations: 133.1 kB / 0.7907 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.178, allocations: 100.9 kB / 0.7908 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1781, allocations: 4 kB / 0.7908 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.1782, allocations: 11.98 kB / 0.7908 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1782, allocations: 11.98 kB / 0.7909 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1782, allocations: 3.984 kB / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001953/0.1784, allocations: 229.9 kB / 0.7911 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1784, allocations: 4 kB / 0.7911 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002381/0.1787, allocations: 43.84 kB / 0.7911 GB, free: 5.016 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.001239/0.1799, allocations: 1.002 MB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1801, allocations: 103.9 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1801, allocations: 0 / 0.7922 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.1802, allocations: 31.97 kB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.1805, allocations: 50.52 kB / 0.7923 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.183, allocations: 2.387 MB / 0.7946 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1833, allocations: 0.7515 MB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.824e-05/0.1834, allocations: 29.94 kB / 0.7954 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1835, allocations: 67.41 kB / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1835, allocations: 0 / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3344/0.5179, allocations: 4.861 MB / 0.8002 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.5181, allocations: 244.7 kB / 0.8004 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.436, allocations: 0 / 0.8004 GB, free: 11.63 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)