Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.0008971/0.0008971, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005625/0.005625, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.226/1.226, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.55/1.55, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004796/0.0004796, allocations: 15.28 kB / 0.6745 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1823, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001952/0.1843, allocations: 1.664 MB / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1856, allocations: 0.992 MB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.1857, allocations: 0 / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.186, allocations: 103.6 kB / 0.7907 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1862, allocations: 87.72 kB / 0.7908 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1865, allocations: 107.8 kB / 0.7909 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1867, allocations: 207.4 kB / 0.7911 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1869, allocations: 61.81 kB / 0.7912 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.187, allocations: 79.56 kB / 0.7912 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1871, allocations: 91.55 kB / 0.7913 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1872, allocations: 4 kB / 0.7913 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1873, allocations: 47.97 kB / 0.7914 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.1873, allocations: 47.83 kB / 0.7914 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.714e-05/0.1874, allocations: 101.1 kB / 0.7915 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1877, allocations: 271.2 kB / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1877, allocations: 0 / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1877, allocations: 0 / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.1877, allocations: 0 / 0.7918 GB, free: 7.57 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.0006434/0.1884, allocations: 0.5024 MB / 0.7923 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1884, allocations: 12.03 kB / 0.7923 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1885, allocations: 34.75 kB / 0.7923 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.1885, allocations: 28.66 kB / 0.7923 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1888, allocations: 307.7 kB / 0.7926 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1889, allocations: 12.12 kB / 0.7926 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1889, allocations: 4 kB / 0.7926 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1891, allocations: 105.5 kB / 0.7927 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1891, allocations: 0 / 0.7927 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1891, allocations: 0 / 0.7927 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1891, allocations: 0 / 0.7927 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1892, allocations: 51.97 kB / 0.7928 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.1898, allocations: 456.3 kB / 0.7932 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1901, allocations: 78.61 kB / 0.7933 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.1901, allocations: 36.78 kB / 0.7933 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.1902, allocations: 4 kB / 0.7933 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.1903, allocations: 79.31 kB / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1903, allocations: 0 / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002841/0.1906, allocations: 133.5 kB / 0.7935 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1906, allocations: 55.41 kB / 0.7936 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.191, allocations: 370.8 kB / 0.7939 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.191, allocations: 29.7 kB / 0.794 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.1911, allocations: 144 kB / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1911, allocations: 19.8 kB / 0.7941 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1912, allocations: 21.72 kB / 0.7942 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1913, allocations: 338.8 kB / 0.7945 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1914, allocations: 55.97 kB / 0.7945 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1915, allocations: 77.62 kB / 0.7946 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1917, allocations: 93.64 kB / 0.7947 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1917, allocations: 0 / 0.7947 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002851/0.192, allocations: 193.3 kB / 0.7949 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.192, allocations: 4 kB / 0.7949 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.192, allocations: 0 / 0.7949 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.192, allocations: 0 / 0.7949 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1921, allocations: 31.92 kB / 0.7949 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1922, allocations: 0 / 0.7949 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1923, allocations: 27.81 kB / 0.7949 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1923, allocations: 11.98 kB / 0.7949 GB, free: 4.062 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.0001136/0.1924, allocations: 148.3 kB / 0.7951 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1925, allocations: 23.66 kB / 0.7951 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.1925, allocations: 29.73 kB / 0.7951 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1925, allocations: 3.938 kB / 0.7951 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1925, allocations: 0 / 0.7951 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1925, allocations: 0 / 0.7951 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1927, allocations: 253.5 kB / 0.7954 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1927, allocations: 3.938 kB / 0.7954 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.1928, allocations: 7.984 kB / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1928, allocations: 0 / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1928, allocations: 0 / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1928, allocations: 3.984 kB / 0.7954 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1928, allocations: 0 / 0.7954 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.193, allocations: 132.8 kB / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.1931, allocations: 104.8 kB / 0.7956 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1931, allocations: 11.98 kB / 0.7956 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1932, allocations: 8 kB / 0.7956 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1932, allocations: 11.97 kB / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1933, allocations: 11.88 kB / 0.7957 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002069/0.1935, allocations: 229.9 kB / 0.7959 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1935, allocations: 0 / 0.7959 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002373/0.1937, allocations: 47.92 kB / 0.7959 GB, free: 2.961 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.001214/0.1949, allocations: 0.9805 MB / 0.7969 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1952, allocations: 103.9 kB / 0.797 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1952, allocations: 3.938 kB / 0.797 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.1953, allocations: 43.97 kB / 0.797 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1956, allocations: 52.28 kB / 0.7971 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.198, allocations: 2.373 MB / 0.7994 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1983, allocations: 0.7554 MB / 0.8001 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.822e-05/0.1984, allocations: 29.94 kB / 0.8002 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.1985, allocations: 67.41 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of SimCode: time 1.833e-06/0.1985, allocations: 4 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2881/0.4866, allocations: 4.647 MB / 0.8048 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.4869, allocations: 248 kB / 0.805 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.207, allocations: 0 / 0.805 GB, free: 9.809 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)