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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00117/0.001171, allocations: 195.2 kB / 16.14 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.148/1.148, allocations: 205.1 MB / 222 MB, free: 4.762 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.64 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.001548/0.001548, allocations: 70.55 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1778, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002736/0.1806, allocations: 1.987 MB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1819, allocations: 0.9997 MB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.182, allocations: 4 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1823, allocations: 99.67 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1825, allocations: 91.64 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1828, allocations: 106.2 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.183, allocations: 195.5 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1831, allocations: 49.64 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1833, allocations: 75.58 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1834, allocations: 95.55 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1834, allocations: 4 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1835, allocations: 55.95 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.1836, allocations: 51.77 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.1837, allocations: 75.42 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1839, allocations: 267.3 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1839, allocations: 0 / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.1839, allocations: 8 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.184, allocations: 0 / 0.7869 GB, free: 9.703 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.0006752/0.1846, allocations: 0.5333 MB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1847, allocations: 8.031 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.1847, allocations: 38.73 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.1848, allocations: 20.66 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1851, allocations: 303.7 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1851, allocations: 12.12 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1851, allocations: 8 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1853, allocations: 81.64 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1853, allocations: 0 / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1853, allocations: 0 / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1853, allocations: 4 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1854, allocations: 39.98 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.186, allocations: 420.5 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1862, allocations: 82.61 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.1863, allocations: 28.84 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1863, allocations: 3.984 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.1865, allocations: 87.38 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1865, allocations: 0 / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003/0.1868, allocations: 133.3 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.1868, allocations: 55.34 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1872, allocations: 362.9 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1872, allocations: 29.7 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.1873, allocations: 144 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.1873, allocations: 19.8 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.1874, allocations: 41.69 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.1875, allocations: 334.8 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1876, allocations: 59.91 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1877, allocations: 73.69 kB / 0.7897 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1878, allocations: 93.7 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1879, allocations: 4 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002883/0.1882, allocations: 196.3 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1882, allocations: 4 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1882, allocations: 4 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1882, allocations: 7.875 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1883, allocations: 23.92 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1883, allocations: 4 kB / 0.79 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.1884, allocations: 23.86 kB / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1885, allocations: 4 kB / 0.79 GB, free: 6.227 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.0001143/0.1886, allocations: 149.8 kB / 0.7902 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.1886, allocations: 27.7 kB / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.1887, allocations: 25.67 kB / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1887, allocations: 0 / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1887, allocations: 0 / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1887, allocations: 4 kB / 0.7902 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1889, allocations: 241.6 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1889, allocations: 4 kB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.1889, allocations: 7.938 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1889, allocations: 0 / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1889, allocations: 3.938 kB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1889, allocations: 4 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1889, allocations: 3.984 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1892, allocations: 128.8 kB / 0.7906 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.1892, allocations: 92.92 kB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.1893, allocations: 15.94 kB / 0.7907 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1893, allocations: 7.984 kB / 0.7907 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1894, allocations: 11.97 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1894, allocations: 11.98 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001947/0.1896, allocations: 225.9 kB / 0.7909 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1896, allocations: 0 / 0.7909 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002332/0.1899, allocations: 40.03 kB / 0.791 GB, free: 5.148 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.001235/0.1911, allocations: 0.9926 MB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1913, allocations: 111.8 kB / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1913, allocations: 0 / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.1914, allocations: 27.98 kB / 0.7921 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1917, allocations: 55.7 kB / 0.7921 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.1941, allocations: 2.333 MB / 0.7944 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1943, allocations: 0.7515 MB / 0.7951 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.633e-05/0.1944, allocations: 29.67 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.1945, allocations: 67.42 kB / 0.7952 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1945, allocations: 0 / 0.7952 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3992/0.5938, allocations: 4.807 MB / 0.7999 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.594, allocations: 260.7 kB / 0.8002 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.206, allocations: 0 / 0.8002 GB, free: 11.86 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)