Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009381, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009094/0.0009095, allocations: 177.3 kB / 15.95 MB, free: 216 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.461/1.461, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.67/1.67, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004695/0.0004695, allocations: 19.97 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2413, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001011/0.2423, allocations: 425.5 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2434, allocations: 0.8294 MB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.2435, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.2435, allocations: 3.938 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.2436, allocations: 7.984 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.2438, allocations: 15.98 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.2439, allocations: 27.91 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.244, allocations: 15.92 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.2441, allocations: 15.97 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.2442, allocations: 19.92 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2442, allocations: 4 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2442, allocations: 0 / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.2442, allocations: 11.92 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.2443, allocations: 29.7 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.471e-05/0.2444, allocations: 31.92 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2444, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2444, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2444, allocations: 0 / 0.7885 GB, free: 10.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005247/0.2449, allocations: 359.5 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.245, allocations: 15.97 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.245, allocations: 3.906 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.2452, allocations: 178.9 kB / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2452, allocations: 4 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2452, allocations: 4 kB / 0.7891 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2454, allocations: 73.66 kB / 0.7891 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2455, allocations: 0 / 0.7891 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2455, allocations: 0 / 0.7891 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2455, allocations: 0 / 0.7891 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.2457, allocations: 55.95 kB / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.2462, allocations: 304.7 kB / 0.7895 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2464, allocations: 66.53 kB / 0.7895 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2464, allocations: 8.031 kB / 0.7895 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2465, allocations: 30.56 kB / 0.7896 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2465, allocations: 0 / 0.7896 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004258/0.2469, allocations: 129.7 kB / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2469, allocations: 51.41 kB / 0.7897 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.247, allocations: 113.8 kB / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2471, allocations: 29.7 kB / 0.7899 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.2471, allocations: 88.05 kB / 0.79 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2471, allocations: 11.91 kB / 0.79 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.2472, allocations: 0 / 0.79 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2473, allocations: 318.8 kB / 0.7903 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2474, allocations: 23.98 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.2475, allocations: 35.97 kB / 0.7903 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.2476, allocations: 27.98 kB / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2476, allocations: 0 / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002538/0.2479, allocations: 93.58 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2479, allocations: 8 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2479, allocations: 3.938 kB / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2479, allocations: 0 / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2481, allocations: 15.98 kB / 0.7905 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2481, allocations: 4 kB / 0.7905 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.2482, allocations: 19.88 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2482, allocations: 0 / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001269/0.2483, allocations: 109.8 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.2484, allocations: 7.906 kB / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.2484, allocations: 15.89 kB / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2484, allocations: 0 / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.2484, allocations: 4 kB / 0.7906 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2484, allocations: 0 / 0.7906 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.2487, allocations: 173.5 kB / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2487, allocations: 0 / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.2488, allocations: 19.98 kB / 0.7908 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2488, allocations: 3.984 kB / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2488, allocations: 0 / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2488, allocations: 0 / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2488, allocations: 4 kB / 0.7908 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.2492, allocations: 199.3 kB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.2492, allocations: 81.11 kB / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2492, allocations: 4 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2493, allocations: 11.98 kB / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.2494, allocations: 11.98 kB / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2494, allocations: 4.375 kB / 0.7911 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.2495, allocations: 87.56 kB / 0.7912 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2495, allocations: 0 / 0.7912 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002163/0.2497, allocations: 12 kB / 0.7912 GB, free: 7.441 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001398/0.2499, allocations: 99.25 kB / 0.7913 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.2502, allocations: 67.88 kB / 0.7914 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2502, allocations: 0 / 0.7914 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.2503, allocations: 43.97 kB / 0.7914 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.2505, allocations: 7.953 kB / 0.7914 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.2509, allocations: 140.6 kB / 0.7916 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2512, allocations: 0.6848 MB / 0.7922 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.2512, allocations: 8 kB / 0.7922 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.2513, allocations: 7.438 kB / 0.7922 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2513, allocations: 4 kB / 0.7922 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.002869/0.2541, allocations: 0.7315 MB / 0.793 GB, free: 5.602 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) Environment - environmentSimulation: