Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.467/1.467, allocations: 287.4 MB / 302.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 189.1 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007266/0.0007266, allocations: 96.39 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 13.08 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.001785/0.1791, allocations: 1.647 MB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1806, allocations: 1.036 MB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.1808, allocations: 3.938 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.1812, allocations: 151.5 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1815, allocations: 123.5 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.1819, allocations: 161.8 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1822, allocations: 267.2 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1824, allocations: 44.66 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1826, allocations: 119.4 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1827, allocations: 127.5 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.1828, allocations: 8 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1829, allocations: 51.91 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.183, allocations: 75.72 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.1831, allocations: 69.52 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.1834, allocations: 283.3 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1834, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1834, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1834, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007449/0.1841, allocations: 0.5759 MB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1842, allocations: 12.03 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.1842, allocations: 38.73 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.1843, allocations: 36.47 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.1847, allocations: 374.4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1847, allocations: 12.03 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1848, allocations: 12 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.185, allocations: 104 kB / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.185, allocations: 0 / 0.9839 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.185, allocations: 12 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.185, allocations: 0 / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1852, allocations: 55.97 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.1858, allocations: 0.4925 MB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.1861, allocations: 138.7 kB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.1862, allocations: 44.84 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1863, allocations: 3.984 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.1865, allocations: 123.4 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.1865, allocations: 0 / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004334/0.1869, allocations: 222.2 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.1869, allocations: 51.41 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.1874, allocations: 0.5054 MB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1874, allocations: 25.7 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.1875, allocations: 172.4 kB / 0.9857 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1875, allocations: 39.55 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.1876, allocations: 8 kB / 0.9857 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.1876, allocations: 338.8 kB / 0.9861 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1878, allocations: 104.5 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.188, allocations: 135.6 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1882, allocations: 183 kB / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1882, allocations: 0 / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004165/0.1887, allocations: 309.2 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1887, allocations: 8 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1887, allocations: 0 / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1887, allocations: 3.938 kB / 0.9868 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1889, allocations: 59.84 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1889, allocations: 0 / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1891, allocations: 35.88 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.1891, allocations: 15.98 kB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.1893, allocations: 183 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.1893, allocations: 35.53 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.1894, allocations: 39.11 kB / 0.9871 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1894, allocations: 7.938 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1894, allocations: 0 / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1894, allocations: 0 / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1896, allocations: 301.4 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1896, allocations: 4 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.1897, allocations: 11.98 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1897, allocations: 0 / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1897, allocations: 8 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1897, allocations: 3.938 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1897, allocations: 0 / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.19, allocations: 205.6 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.1901, allocations: 120.6 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1901, allocations: 8 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.1902, allocations: 11.92 kB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.1903, allocations: 19.92 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1903, allocations: 11.98 kB / 0.9878 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002486/0.1906, allocations: 315.1 kB / 0.9881 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1906, allocations: 0 / 0.9881 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002467/0.1908, allocations: 52 kB / 0.9882 GB, free: 18.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.1921, allocations: 1.051 MB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.1925, allocations: 191.8 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1925, allocations: 128 / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1926, allocations: 67.91 kB / 0.9894 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.193, allocations: 87.58 kB / 0.9895 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.1953, allocations: 2.076 MB / 0.9915 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.1955, allocations: 0.7869 MB / 0.9923 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.1956, allocations: 50.95 kB / 0.9924 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1957, allocations: 107.4 kB / 0.9925 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.1957, allocations: 0 / 0.9925 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.2119, allocations: 6.976 MB / 0.9993 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.212, allocations: 226.8 kB / 0.9995 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.031, allocations: 3.516 kB / 0.9995 GB, free: 6.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)