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.0007765/0.0007763, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000831/0.000831, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.56/1.56, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004625/0.0004625, allocations: 21.48 kB / 0.6739 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001942/0.1815, allocations: 1.618 MB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1828, allocations: 0.9573 MB / 0.7899 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.1829, allocations: 7.938 kB / 0.7899 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.1832, allocations: 99.66 kB / 0.79 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1834, allocations: 75.73 kB / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1836, allocations: 99.81 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1839, allocations: 183.5 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.184, allocations: 38.08 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.1841, allocations: 75.58 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.1842, allocations: 75.67 kB / 0.7906 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1842, allocations: 4 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1843, allocations: 55.95 kB / 0.7906 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.1844, allocations: 51.77 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.1844, allocations: 53.62 kB / 0.7907 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1847, allocations: 219.7 kB / 0.7909 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1847, allocations: 3.938 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1847, allocations: 0 / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1847, allocations: 0 / 0.7909 GB, free: 8.211 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.0006262/0.1853, allocations: 0.506 MB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1854, allocations: 8.031 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1854, allocations: 38.56 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1854, allocations: 31.59 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1858, allocations: 294.4 kB / 0.7918 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1858, allocations: 4 kB / 0.7918 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1858, allocations: 8 kB / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.186, allocations: 97.64 kB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.186, allocations: 0 / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.186, allocations: 4 kB / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.186, allocations: 0 / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1861, allocations: 59.83 kB / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.1867, allocations: 452.5 kB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1869, allocations: 82.59 kB / 0.7925 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.187, allocations: 32.8 kB / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.187, allocations: 0 / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.1871, allocations: 75.38 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1872, allocations: 0 / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002742/0.1874, allocations: 133.6 kB / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1875, allocations: 55.34 kB / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.1878, allocations: 370.9 kB / 0.7931 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1878, allocations: 29.7 kB / 0.7931 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1879, allocations: 140 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1879, allocations: 15.81 kB / 0.7933 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-06/0.188, allocations: 4 kB / 0.7933 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.1881, allocations: 338.8 kB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.1882, allocations: 63.88 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1883, allocations: 76.34 kB / 0.7937 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.1884, allocations: 63.16 kB / 0.7938 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1884, allocations: 0 / 0.7938 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002693/0.1887, allocations: 189.3 kB / 0.794 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1887, allocations: 4 kB / 0.794 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1887, allocations: 4 kB / 0.794 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1887, allocations: 0 / 0.794 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.1888, allocations: 23.92 kB / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.1888, allocations: 8.062 kB / 0.794 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.497e-05/0.1889, allocations: 23.95 kB / 0.794 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1889, allocations: 4 kB / 0.794 GB, free: 4.797 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 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1891, allocations: 157.7 kB / 0.7942 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1891, allocations: 23.72 kB / 0.7942 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.1891, allocations: 21.73 kB / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1891, allocations: 0 / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1892, allocations: 0 / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1892, allocations: 0 / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.1893, allocations: 257.4 kB / 0.7945 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1893, allocations: 4 kB / 0.7945 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.1894, allocations: 8 kB / 0.7945 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1894, allocations: 3.984 kB / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1894, allocations: 4 kB / 0.7945 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1894, allocations: 0 / 0.7945 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1894, allocations: 3.984 kB / 0.7945 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1896, allocations: 132.8 kB / 0.7946 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.1897, allocations: 112.9 kB / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1897, allocations: 0 / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.1898, allocations: 11.98 kB / 0.7947 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1898, allocations: 7.984 kB / 0.7948 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1899, allocations: 11.94 kB / 0.7948 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002004/0.1901, allocations: 233.9 kB / 0.795 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1901, allocations: 0 / 0.795 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002351/0.1903, allocations: 43.84 kB / 0.795 GB, free: 3.688 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 (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.001153/0.1915, allocations: 0.9859 MB / 0.796 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1917, allocations: 107 kB / 0.7961 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1917, allocations: 3.938 kB / 0.7961 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.1918, allocations: 32.05 kB / 0.7961 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1921, allocations: 47.7 kB / 0.7962 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.1939, allocations: 1.413 MB / 0.7976 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1941, allocations: 0.7476 MB / 0.7983 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.127e-05/0.1942, allocations: 38.08 kB / 0.7983 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.1943, allocations: 71.41 kB / 0.7984 GB, free: 304 kB / 0.6075 GB Notification: Performance of SimCode: time 1.252e-06/0.1943, allocations: 0 / 0.7984 GB, free: 304 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.2086, allocations: 4.942 MB / 0.8032 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.2088, allocations: 224.1 kB / 0.8034 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.834, allocations: 0 / 0.8034 GB, free: 11.27 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/linux/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) Environment - environmentSimulation: