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.0008157/0.0008156, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007769/0.0007769, allocations: 172.7 kB / 15.95 MB, free: 208 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.295/1.295, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.59/1.59, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005211/0.0005211, allocations: 20.09 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002069/0.2049, allocations: 1.602 MB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2063, allocations: 0.9496 MB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2064, allocations: 3.938 kB / 0.7899 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.2068, allocations: 95.69 kB / 0.79 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.207, allocations: 79.72 kB / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2072, allocations: 89.58 kB / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.2075, allocations: 179.4 kB / 0.7903 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2076, allocations: 37.67 kB / 0.7904 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2077, allocations: 67.62 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2078, allocations: 79.66 kB / 0.7905 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2078, allocations: 4 kB / 0.7905 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.208, allocations: 51.98 kB / 0.7906 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.208, allocations: 55.75 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.2081, allocations: 49.64 kB / 0.7907 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.2083, allocations: 207.7 kB / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2083, allocations: 3.938 kB / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2083, allocations: 0 / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.2083, allocations: 0 / 0.7909 GB, free: 8.246 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.000689/0.209, allocations: 0.5099 MB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2091, allocations: 12.03 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.2091, allocations: 38.55 kB / 0.7914 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.2092, allocations: 27.67 kB / 0.7914 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.2096, allocations: 290.4 kB / 0.7917 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2096, allocations: 4 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2096, allocations: 11.94 kB / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.2098, allocations: 77.66 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2098, allocations: 0 / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2098, allocations: 4 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.2098, allocations: 8 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.21, allocations: 47.92 kB / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.2106, allocations: 420.6 kB / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2108, allocations: 82.61 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.2109, allocations: 28.84 kB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.2109, allocations: 4 kB / 0.7924 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.2111, allocations: 87.3 kB / 0.7925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.2111, allocations: 0 / 0.7925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000298/0.2114, allocations: 125.4 kB / 0.7926 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.2114, allocations: 55.39 kB / 0.7926 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.2118, allocations: 362.8 kB / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2118, allocations: 33.7 kB / 0.793 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.2119, allocations: 140 kB / 0.7931 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2119, allocations: 23.8 kB / 0.7932 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.2119, allocations: 0 / 0.7932 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2121, allocations: 334.8 kB / 0.7935 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2122, allocations: 55.97 kB / 0.7935 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.2123, allocations: 77.62 kB / 0.7936 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.2124, allocations: 58.8 kB / 0.7937 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2124, allocations: 0 / 0.7937 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002862/0.2127, allocations: 197.3 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2127, allocations: 8 kB / 0.7939 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2127, allocations: 3.938 kB / 0.7939 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2128, allocations: 0 / 0.7939 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2129, allocations: 23.98 kB / 0.7939 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2129, allocations: 320 / 0.7939 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.213, allocations: 15.89 kB / 0.7939 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.213, allocations: 12 kB / 0.7939 GB, free: 4.887 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.0001295/0.2132, allocations: 153.7 kB / 0.7941 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.2132, allocations: 27.7 kB / 0.7941 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.2132, allocations: 29.72 kB / 0.7941 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2132, allocations: 0 / 0.7941 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2133, allocations: 0 / 0.7941 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2133, allocations: 4 kB / 0.7941 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.2135, allocations: 245.5 kB / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2135, allocations: 0 / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.2135, allocations: 4 kB / 0.7944 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2135, allocations: 7.953 kB / 0.7944 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2135, allocations: 7.984 kB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2135, allocations: 0 / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2135, allocations: 0 / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2137, allocations: 128.9 kB / 0.7945 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.2138, allocations: 104.8 kB / 0.7946 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.2139, allocations: 11.95 kB / 0.7946 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.2139, allocations: 15.98 kB / 0.7946 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.214, allocations: 7.984 kB / 0.7946 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.214, allocations: 11.94 kB / 0.7947 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001894/0.2142, allocations: 229.9 kB / 0.7949 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2142, allocations: 0 / 0.7949 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002242/0.2144, allocations: 35.91 kB / 0.7949 GB, free: 3.789 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.001179/0.2156, allocations: 0.9812 MB / 0.7959 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.2158, allocations: 107.3 kB / 0.796 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2159, allocations: 0 / 0.796 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.2159, allocations: 35.92 kB / 0.796 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.2162, allocations: 52.86 kB / 0.796 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.218, allocations: 1.388 MB / 0.7974 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2183, allocations: 0.7515 MB / 0.7981 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.914e-05/0.2184, allocations: 37.67 kB / 0.7982 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.2185, allocations: 63.42 kB / 0.7982 GB, free: 444 kB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2185, allocations: 0 / 0.7982 GB, free: 444 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.2333, allocations: 4.885 MB / 0.803 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.2335, allocations: 238.8 kB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.815, allocations: 3.938 kB / 0.8032 GB, free: 11.48 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/linux/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) Environment - environmentSimulation: