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.001208/0.001208, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001289/0.001289, allocations: 189 kB / 17.2 MB, free: 5.602 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.552/1.552, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.882/1.882, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001438/0.001438, allocations: 82.38 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.266, allocations: 114.5 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003526/0.2696, allocations: 1.918 MB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2714, allocations: 1.023 MB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2716, allocations: 8 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.272, allocations: 107.5 kB / 0.787 GB, free: 0.8008 MB / 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.0002924/0.2724, allocations: 91.58 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.2727, allocations: 130.7 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.273, allocations: 203.4 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2732, allocations: 41.67 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.2733, allocations: 87.62 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.2735, allocations: 99.59 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.2735, allocations: 8 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2737, allocations: 67.97 kB / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.2737, allocations: 55.77 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.4531/0.7269, allocations: 80.53 kB / 0.7879 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.7275, allocations: 269.9 kB / 0.7881 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.7275, allocations: 0 / 0.7881 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7275, allocations: 0 / 0.7881 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.7275, allocations: 0 / 0.7881 GB, free: 46.2 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.0009321/0.7285, allocations: 0.5249 MB / 0.7886 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7285, allocations: 12.38 kB / 0.7886 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.7286, allocations: 25.44 kB / 0.7887 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.729, allocations: 306.1 kB / 0.789 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.729, allocations: 7.125 kB / 0.789 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.729, allocations: 6.625 kB / 0.789 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.7292, allocations: 86.19 kB / 0.789 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7293, allocations: 3.609 kB / 0.789 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.7293, allocations: 2.062 kB / 0.7891 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7293, allocations: 3.562 kB / 0.7891 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.7294, allocations: 38.59 kB / 0.7891 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.73, allocations: 429.2 kB / 0.7895 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.7303, allocations: 83.16 kB / 0.7896 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.7303, allocations: 25.88 kB / 0.7896 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.7304, allocations: 2.781 kB / 0.7896 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.7305, allocations: 78.08 kB / 0.7897 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.7305, allocations: 0 / 0.7897 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000336/0.7309, allocations: 129.7 kB / 0.7898 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.7309, allocations: 65.19 kB / 0.7899 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.7313, allocations: 368.3 kB / 0.7902 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7313, allocations: 25.7 kB / 0.7902 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.7314, allocations: 138.7 kB / 0.7904 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.7314, allocations: 17.25 kB / 0.7904 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.7315, allocations: 41.31 kB / 0.7904 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.7316, allocations: 336 kB / 0.7908 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.7317, allocations: 56.44 kB / 0.7908 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.7318, allocations: 83.14 kB / 0.7909 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.732, allocations: 87.95 kB / 0.791 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.732, allocations: 1.406 kB / 0.791 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002908/0.7323, allocations: 191.3 kB / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7324, allocations: 5.844 kB / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7324, allocations: 0.5312 kB / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.7324, allocations: 5.375 kB / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.7325, allocations: 26.23 kB / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.7325, allocations: 3.938 kB / 0.7912 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.7327, allocations: 22.94 kB / 0.7912 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.7327, allocations: 7.312 kB / 0.7912 GB, free: 44.38 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.0001235/0.7328, allocations: 152.8 kB / 0.7914 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.7329, allocations: 27.05 kB / 0.7914 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.7329, allocations: 24.69 kB / 0.7914 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7329, allocations: 6.562 kB / 0.7914 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7329, allocations: 6.094 kB / 0.7914 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.733, allocations: 0 / 0.7914 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.7331, allocations: 239.3 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7332, allocations: 0 / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.7332, allocations: 5.438 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7332, allocations: 2.625 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.7332, allocations: 5.797 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7332, allocations: 0.5312 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7332, allocations: 3.938 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.7334, allocations: 135.9 kB / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.7335, allocations: 96.73 kB / 0.7919 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.7335, allocations: 5.953 kB / 0.7919 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.7336, allocations: 13.56 kB / 0.7919 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.7337, allocations: 15.45 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.7337, allocations: 3.719 kB / 0.7919 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001919/0.7339, allocations: 228.9 kB / 0.7922 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7339, allocations: 0 / 0.7922 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002606/0.7342, allocations: 44.8 kB / 0.7922 GB, free: 43.78 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.001098/0.7353, allocations: 433.1 kB / 0.7926 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.7356, allocations: 106.7 kB / 0.7927 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7356, allocations: 0 / 0.7927 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.7357, allocations: 31.53 kB / 0.7927 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.7361, allocations: 54.39 kB / 0.7928 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.7367, allocations: 398.1 kB / 0.7932 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.7369, allocations: 0.7496 MB / 0.7939 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.737, allocations: 25.36 kB / 0.7939 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.737, allocations: 0 / 0.7939 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.0055/0.7425, allocations: 3.054 MB / 0.7969 GB, free: 42.56 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)