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.001413/0.001413, allocations: 112.7 kB / 16.37 MB, free: 6.012 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.0012/0.0012, allocations: 188.8 kB / 17.31 MB, free: 5.609 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.873/1.873, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001467/0.001467, allocations: 68.11 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2228, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003568/0.2264, allocations: 1.921 MB / 0.7867 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2282, allocations: 1.027 MB / 0.7877 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2283, allocations: 4 kB / 0.7877 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.2288, allocations: 111.5 kB / 0.7878 GB, free: 112 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.0002829/0.2291, allocations: 95.59 kB / 0.7879 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.3922/0.6212, allocations: 123.9 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.6218, allocations: 195.6 kB / 0.7882 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.622, allocations: 50.75 kB / 0.7882 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.6222, allocations: 85.77 kB / 0.7883 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.6224, allocations: 100.1 kB / 0.7884 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.6224, allocations: 11.09 kB / 0.7884 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.6227, allocations: 63.78 kB / 0.7885 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.6228, allocations: 58 kB / 0.7885 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.6229, allocations: 77.06 kB / 0.7886 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.6234, allocations: 279.3 kB / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.6234, allocations: 0 / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6234, allocations: 3.938 kB / 0.7889 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.6234, allocations: 0 / 0.7889 GB, free: 46.55 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.001041/0.6245, allocations: 0.5252 MB / 0.7894 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.6245, allocations: 10.5 kB / 0.7894 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.6246, allocations: 27.39 kB / 0.7894 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.6251, allocations: 306.7 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.6252, allocations: 7.375 kB / 0.7897 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.6252, allocations: 8.75 kB / 0.7897 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.6255, allocations: 83.66 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6255, allocations: 0 / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.6255, allocations: 3.406 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.6255, allocations: 0 / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.6257, allocations: 49.23 kB / 0.7899 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.6264, allocations: 424.9 kB / 0.7903 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.6266, allocations: 79.28 kB / 0.7904 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.6267, allocations: 33.7 kB / 0.7904 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.6267, allocations: 0 / 0.7904 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.6269, allocations: 76.86 kB / 0.7905 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.6269, allocations: 2.312 kB / 0.7905 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003742/0.6273, allocations: 132.6 kB / 0.7906 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.6273, allocations: 58.53 kB / 0.7906 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.6277, allocations: 365.1 kB / 0.791 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.6277, allocations: 28.58 kB / 0.791 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.6278, allocations: 133.6 kB / 0.7912 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.6278, allocations: 25.66 kB / 0.7912 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.6279, allocations: 43.97 kB / 0.7912 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.628, allocations: 332.9 kB / 0.7915 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.6281, allocations: 59.75 kB / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.6282, allocations: 75.08 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.6283, allocations: 93.39 kB / 0.7918 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6284, allocations: 0 / 0.7918 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000289/0.6286, allocations: 196.4 kB / 0.7919 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6287, allocations: 6.188 kB / 0.7919 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6287, allocations: 3.234 kB / 0.792 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.6287, allocations: 3.188 kB / 0.792 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.6288, allocations: 23.08 kB / 0.792 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.6289, allocations: 3.938 kB / 0.792 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.629, allocations: 18.67 kB / 0.792 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.629, allocations: 3.344 kB / 0.792 GB, free: 44.71 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.0001316/0.6291, allocations: 151.4 kB / 0.7921 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.6292, allocations: 27.02 kB / 0.7922 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.6292, allocations: 22.5 kB / 0.7922 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6292, allocations: 3.281 kB / 0.7922 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6293, allocations: 7.062 kB / 0.7922 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.6293, allocations: 1.094 kB / 0.7922 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.6294, allocations: 237.2 kB / 0.7924 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6295, allocations: 3.188 kB / 0.7924 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.6295, allocations: 8.406 kB / 0.7924 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6295, allocations: 3.938 kB / 0.7924 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6295, allocations: 8.125 kB / 0.7925 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6295, allocations: 2.766 kB / 0.7925 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6295, allocations: 5.047 kB / 0.7925 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.6297, allocations: 131.9 kB / 0.7926 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.6298, allocations: 98.14 kB / 0.7927 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.6298, allocations: 3.469 kB / 0.7927 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.6299, allocations: 12.28 kB / 0.7927 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.63, allocations: 14.72 kB / 0.7927 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.63, allocations: 2.625 kB / 0.7927 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001945/0.6302, allocations: 229.7 kB / 0.7929 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.102e-06/0.6302, allocations: 0 / 0.7929 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002559/0.6305, allocations: 51.22 kB / 0.793 GB, free: 44.12 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.001105/0.6316, allocations: 424.2 kB / 0.7934 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.6319, allocations: 115.4 kB / 0.7935 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6319, allocations: 0 / 0.7935 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.632, allocations: 29.98 kB / 0.7935 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.6323, allocations: 55.22 kB / 0.7936 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.633, allocations: 397.9 kB / 0.794 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.6332, allocations: 0.7512 MB / 0.7947 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.6333, allocations: 21.25 kB / 0.7947 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6333, allocations: 0 / 0.7947 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.005525/0.6388, allocations: 3.05 MB / 0.7977 GB, free: 42.88 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)