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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 105 kB / 16.36 MB, free: 6.426 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.00138/0.00138, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.853/1.853, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001478/0.001479, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.00348/0.2231, allocations: 1.917 MB / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2248, allocations: 1.023 MB / 0.7877 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.225, allocations: 7.938 kB / 0.7877 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.2254, allocations: 107.5 kB / 0.7878 GB, free: 108 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.2257, allocations: 91.59 kB / 0.7879 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4372/0.6629, allocations: 118.8 kB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.6634, allocations: 206.7 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.6636, allocations: 45.73 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.6637, allocations: 88.23 kB / 0.7883 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.6638, allocations: 87.78 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.6639, allocations: 11.56 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.6641, allocations: 62.84 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.6642, allocations: 64.08 kB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.6643, allocations: 80.77 kB / 0.7886 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.6647, allocations: 274.1 kB / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.6647, allocations: 4.047 kB / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6647, allocations: 0 / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6648, allocations: 1.938 kB / 0.7889 GB, free: 46.45 MB / 0.6544 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.0008961/0.6657, allocations: 0.5301 MB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6657, allocations: 10.84 kB / 0.7894 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.6658, allocations: 27.73 kB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.6662, allocations: 299.9 kB / 0.7897 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6662, allocations: 13.58 kB / 0.7897 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.6663, allocations: 4.625 kB / 0.7897 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.6665, allocations: 86.98 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6665, allocations: 0 / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6665, allocations: 0 / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6665, allocations: 6.219 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.6666, allocations: 42.47 kB / 0.7899 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.6673, allocations: 416.4 kB / 0.7903 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.6676, allocations: 83.47 kB / 0.7903 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.6676, allocations: 30.61 kB / 0.7904 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.6677, allocations: 3.375 kB / 0.7904 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.6678, allocations: 78.95 kB / 0.7904 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.6678, allocations: 0 / 0.7904 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003548/0.6682, allocations: 134.4 kB / 0.7906 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.6682, allocations: 58.16 kB / 0.7906 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.6686, allocations: 364.1 kB / 0.791 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6686, allocations: 28.33 kB / 0.791 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.6687, allocations: 143.4 kB / 0.7911 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.6687, allocations: 24.81 kB / 0.7912 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.6688, allocations: 38.59 kB / 0.7912 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.6689, allocations: 337.3 kB / 0.7915 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.669, allocations: 57.3 kB / 0.7916 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.6691, allocations: 75.73 kB / 0.7916 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.6693, allocations: 92.98 kB / 0.7917 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6693, allocations: 0 / 0.7917 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002884/0.6696, allocations: 192.2 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6696, allocations: 6.531 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6696, allocations: 0 / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6696, allocations: 3.219 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.6698, allocations: 29.03 kB / 0.792 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6698, allocations: 3.938 kB / 0.792 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.6699, allocations: 16.61 kB / 0.792 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.6699, allocations: 6.562 kB / 0.792 GB, free: 44.61 MB / 0.6544 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.0001225/0.6701, allocations: 156.3 kB / 0.7921 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.6701, allocations: 22.22 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.6702, allocations: 25.81 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.6702, allocations: 4 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6702, allocations: 3.938 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6702, allocations: 0 / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.6704, allocations: 239.6 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6704, allocations: 4.156 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.6704, allocations: 6.562 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6704, allocations: 0 / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.6704, allocations: 9.156 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.6704, allocations: 0 / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6704, allocations: 3.938 kB / 0.7924 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.6706, allocations: 140.5 kB / 0.7926 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.6707, allocations: 95.75 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.6707, allocations: 5.219 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.6708, allocations: 9.859 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.6709, allocations: 19.64 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.6709, allocations: 2.625 kB / 0.7927 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002014/0.6711, allocations: 228.5 kB / 0.7929 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6711, allocations: 3.938 kB / 0.7929 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002559/0.6714, allocations: 46.25 kB / 0.793 GB, free: 44.01 MB / 0.6544 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.001091/0.6725, allocations: 417.4 kB / 0.7934 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.6728, allocations: 111.6 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6728, allocations: 3.5 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.6729, allocations: 30.69 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.6732, allocations: 52.55 kB / 0.7936 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.6738, allocations: 367.6 kB / 0.7939 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.674, allocations: 0.7422 MB / 0.7946 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.625e-05/0.6741, allocations: 28.47 kB / 0.7947 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.6741, allocations: 27.28 kB / 0.7947 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.6741, allocations: 0 / 0.7947 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.006495/0.6806, allocations: 2.805 MB / 0.7974 GB, free: 42.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)