Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.001154/0.001154, 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.00119/0.00119, allocations: 195.3 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.172/1.172, allocations: 205.1 MB / 222 MB, free: 4.984 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.51/1.51, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001338/0.001338, allocations: 66.78 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1763, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002842/0.1791, allocations: 1.983 MB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1805, allocations: 1.004 MB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.1806, allocations: 7.938 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.181, allocations: 91.69 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1812, allocations: 95.7 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1814, allocations: 107.8 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1816, allocations: 199.4 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1818, allocations: 41.67 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1819, allocations: 79.56 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.182, allocations: 91.66 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.182, allocations: 4 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1821, allocations: 51.97 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.1822, allocations: 51.72 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.1823, allocations: 79.45 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1826, allocations: 267.3 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1826, allocations: 0 / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1826, allocations: 0 / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.1826, allocations: 0 / 0.7868 GB, free: 9.754 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.0006799/0.1833, allocations: 0.5333 MB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1833, allocations: 8.031 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.1834, allocations: 42.67 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.1834, allocations: 24.66 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.1838, allocations: 307.7 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1838, allocations: 16.11 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1838, allocations: 4 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.184, allocations: 77.66 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.184, allocations: 0 / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.184, allocations: 4 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.184, allocations: 0 / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1841, allocations: 42.67 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.1847, allocations: 420.6 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1849, allocations: 82.59 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.185, allocations: 32.84 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.185, allocations: 4 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.1852, allocations: 75.38 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1852, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003077/0.1855, allocations: 149.2 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.1856, allocations: 51.41 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1859, allocations: 366.9 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1859, allocations: 25.7 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.186, allocations: 144 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.186, allocations: 19.8 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.1861, allocations: 41.7 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1862, allocations: 334.8 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1863, allocations: 55.92 kB / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1864, allocations: 77.69 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1866, allocations: 100.7 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1866, allocations: 0 / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000298/0.1869, allocations: 189.3 kB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1869, allocations: 4 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1869, allocations: 0 / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.187, allocations: 7.938 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1871, allocations: 23.92 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1871, allocations: 4.031 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.1872, allocations: 23.83 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1872, allocations: 4 kB / 0.79 GB, free: 6.273 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,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.0001291/0.1873, allocations: 155.5 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1874, allocations: 19.72 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.1874, allocations: 33.67 kB / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1874, allocations: 0 / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1874, allocations: 0 / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1875, allocations: 4 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1876, allocations: 245.5 kB / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1877, allocations: 0 / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.1877, allocations: 4 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1877, allocations: 0 / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1877, allocations: 11.92 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1877, allocations: 4 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1877, allocations: 0 / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1879, allocations: 132.8 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.188, allocations: 100.8 kB / 0.7907 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.188, allocations: 11.92 kB / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1881, allocations: 4 kB / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1882, allocations: 19.91 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1882, allocations: 4 kB / 0.7907 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002042/0.1884, allocations: 225.9 kB / 0.7909 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1884, allocations: 0 / 0.7909 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002314/0.1886, allocations: 40.12 kB / 0.791 GB, free: 5.188 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,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.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.001236/0.1899, allocations: 0.9858 MB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1901, allocations: 107.8 kB / 0.792 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1901, allocations: 0 / 0.792 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.1902, allocations: 39.98 kB / 0.7921 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1905, allocations: 53.45 kB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1931, allocations: 2.334 MB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1933, allocations: 0.7476 MB / 0.7951 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.1934, allocations: 33.67 kB / 0.7952 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1936, allocations: 67.41 kB / 0.7952 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.1936, allocations: 0 / 0.7952 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6607/0.8542, allocations: 4.802 MB / 0.7999 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.8545, allocations: 255.1 kB / 0.8002 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.615, allocations: 8.062 kB / 0.8002 GB, free: 11.93 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)