Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.0008694/0.0008693, allocations: 89.97 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.005412/0.005412, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.271/1.271, 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.595/1.595, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004675/0.0004675, allocations: 18.97 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002081/0.1739, allocations: 1.641 MB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1754, allocations: 0.9881 MB / 0.7906 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1756, allocations: 4 kB / 0.7906 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.1759, allocations: 95.69 kB / 0.7907 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1761, allocations: 83.7 kB / 0.7908 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1764, allocations: 111.8 kB / 0.7909 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1766, allocations: 199.4 kB / 0.7911 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1768, allocations: 37.67 kB / 0.7911 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1769, allocations: 79.56 kB / 0.7912 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.177, allocations: 83.61 kB / 0.7912 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1771, allocations: 4 kB / 0.7913 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1772, allocations: 51.97 kB / 0.7913 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.1773, allocations: 43.83 kB / 0.7913 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/0.1774, allocations: 109 kB / 0.7914 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1776, allocations: 259.3 kB / 0.7917 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1776, allocations: 0 / 0.7917 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1777, allocations: 4 kB / 0.7917 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.1777, allocations: 3.938 kB / 0.7917 GB, free: 7.664 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006732/0.1783, allocations: 0.4946 MB / 0.7922 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1784, allocations: 8.031 kB / 0.7922 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1784, allocations: 38.73 kB / 0.7922 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1785, allocations: 28.59 kB / 0.7923 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1788, allocations: 319.6 kB / 0.7926 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1789, allocations: 4.125 kB / 0.7926 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1789, allocations: 12 kB / 0.7926 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1791, allocations: 77.66 kB / 0.7927 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1791, allocations: 0 / 0.7927 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1791, allocations: 0 / 0.7927 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1791, allocations: 0 / 0.7927 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.1792, allocations: 39.97 kB / 0.7927 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.1798, allocations: 428.5 kB / 0.7931 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.18, allocations: 86.66 kB / 0.7932 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.918e-05/0.1801, allocations: 28.78 kB / 0.7932 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1801, allocations: 3.984 kB / 0.7932 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.1803, allocations: 75.39 kB / 0.7933 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1803, allocations: 0 / 0.7933 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003011/0.1806, allocations: 145.3 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1806, allocations: 51.41 kB / 0.7935 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.181, allocations: 362.9 kB / 0.7938 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.181, allocations: 29.7 kB / 0.7938 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.1811, allocations: 140 kB / 0.794 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1811, allocations: 19.8 kB / 0.794 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1812, allocations: 25.72 kB / 0.794 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1813, allocations: 330.8 kB / 0.7943 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1814, allocations: 59.97 kB / 0.7944 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1815, allocations: 77.59 kB / 0.7945 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1817, allocations: 93.7 kB / 0.7946 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1817, allocations: 0 / 0.7946 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002925/0.182, allocations: 193.2 kB / 0.7947 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.182, allocations: 11.12 kB / 0.7948 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.182, allocations: 0 / 0.7948 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.182, allocations: 7.969 kB / 0.7948 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1821, allocations: 27.92 kB / 0.7948 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1822, allocations: 3.938 kB / 0.7948 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1823, allocations: 15.94 kB / 0.7948 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1823, allocations: 7.984 kB / 0.7948 GB, free: 4.23 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.0001226/0.1824, allocations: 152.9 kB / 0.795 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1824, allocations: 23.72 kB / 0.795 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.1825, allocations: 33.67 kB / 0.795 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1825, allocations: 3.938 kB / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1825, allocations: 0 / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1825, allocations: 0 / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1827, allocations: 245.5 kB / 0.7953 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1827, allocations: 0 / 0.7953 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.1827, allocations: 7.938 kB / 0.7953 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1828, allocations: 0 / 0.7953 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1828, allocations: 7.938 kB / 0.7953 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1828, allocations: 4 kB / 0.7953 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1828, allocations: 0 / 0.7953 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.183, allocations: 136.8 kB / 0.7954 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1831, allocations: 100.8 kB / 0.7955 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1831, allocations: 7.938 kB / 0.7955 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.1832, allocations: 11.98 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1832, allocations: 11.98 kB / 0.7955 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1833, allocations: 11.98 kB / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002062/0.1835, allocations: 225.9 kB / 0.7958 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1835, allocations: 0 / 0.7958 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.1837, allocations: 40.12 kB / 0.7958 GB, free: 3.137 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.001229/0.1849, allocations: 0.9822 MB / 0.7968 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1852, allocations: 107.8 kB / 0.7969 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1852, allocations: 0 / 0.7969 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/0.1853, allocations: 31.98 kB / 0.7969 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1856, allocations: 60.58 kB / 0.7969 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1881, allocations: 2.338 MB / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1883, allocations: 0.7514 MB / 0.8 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.126e-05/0.1884, allocations: 33.69 kB / 0.8 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.1885, allocations: 67.41 kB / 0.8001 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.1885, allocations: 3.938 kB / 0.8001 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/0.3125, allocations: 4.592 MB / 0.8045 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003642/0.3129, allocations: 273.2 kB / 0.8048 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.084, allocations: 0 / 0.8048 GB, free: 10.09 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)