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.001254/0.001254, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 197.4 kB / 16.64 MB, free: 6.449 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.664/1.664, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.854/1.854, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001573/0.001573, allocations: 76.75 kB / 0.6723 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3044, allocations: 114.5 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003971/0.3084, allocations: 1.921 MB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3103, allocations: 1.02 MB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.3105, allocations: 7.938 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.3111, allocations: 111.5 kB / 0.7871 GB, free: 9.621 MB / 0.6075 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.0003059/0.3114, allocations: 95.52 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.3118, allocations: 127.7 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3121, allocations: 195.5 kB / 0.7875 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.3123, allocations: 41.66 kB / 0.7876 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3125, allocations: 95.56 kB / 0.7877 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3126, allocations: 91.59 kB / 0.7878 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.3127, allocations: 12 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3128, allocations: 67.91 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.3129, allocations: 55.83 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.313, allocations: 79.47 kB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.3134, allocations: 275 kB / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3134, allocations: 0 / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3135, allocations: 4 kB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.3135, allocations: 0 / 0.7882 GB, free: 8.504 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.001207/0.3147, allocations: 0.5294 MB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.3148, allocations: 12.02 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.3149, allocations: 24.66 kB / 0.7888 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.3154, allocations: 303.7 kB / 0.7891 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.3155, allocations: 8.375 kB / 0.7891 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3155, allocations: 11.94 kB / 0.7891 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3158, allocations: 81.59 kB / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3158, allocations: 0 / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3158, allocations: 0 / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3158, allocations: 4 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.316, allocations: 39.97 kB / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/0.3168, allocations: 424.5 kB / 0.7896 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3171, allocations: 82.66 kB / 0.7897 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/0.3172, allocations: 32.78 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.3172, allocations: 4 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3174, allocations: 83.31 kB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.3174, allocations: 3.984 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004366/0.3179, allocations: 137.3 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3179, allocations: 51.41 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.3184, allocations: 358.9 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3184, allocations: 33.7 kB / 0.7904 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3186, allocations: 140 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.3186, allocations: 23.8 kB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.3187, allocations: 37.7 kB / 0.7906 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3189, allocations: 334.8 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.319, allocations: 55.98 kB / 0.7909 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.3191, allocations: 82.55 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3193, allocations: 88.8 kB / 0.7911 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3193, allocations: 11.94 kB / 0.7911 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003303/0.3196, allocations: 193.2 kB / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3197, allocations: 6.656 kB / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3197, allocations: 4 kB / 0.7913 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.3197, allocations: 3.938 kB / 0.7913 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3198, allocations: 19.98 kB / 0.7913 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3199, allocations: 4 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.32, allocations: 11.89 kB / 0.7913 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.32, allocations: 16.03 kB / 0.7913 GB, free: 5.066 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 ($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.0001307/0.3201, allocations: 152.8 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3202, allocations: 27.7 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3202, allocations: 21.75 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3202, allocations: 3.938 kB / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3203, allocations: 0 / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3203, allocations: 3.984 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.3205, allocations: 241.6 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3205, allocations: 0 / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.3205, allocations: 11.98 kB / 0.7918 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3205, allocations: 0 / 0.7918 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3205, allocations: 0 / 0.7918 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3206, allocations: 7.938 kB / 0.7918 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3206, allocations: 3.938 kB / 0.7918 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.3208, allocations: 136.8 kB / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.3209, allocations: 96.91 kB / 0.792 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.3209, allocations: 8 kB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.321, allocations: 15.92 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.321, allocations: 7.984 kB / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3211, allocations: 8 kB / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002169/0.3213, allocations: 229.9 kB / 0.7923 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3213, allocations: 0 / 0.7923 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002622/0.3216, allocations: 44.02 kB / 0.7923 GB, free: 3.977 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 (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.001081/0.3227, allocations: 418.9 kB / 0.7927 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3229, allocations: 107.9 kB / 0.7928 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.323, allocations: 0 / 0.7928 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.3231, allocations: 31.94 kB / 0.7929 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3234, allocations: 55.55 kB / 0.7929 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/0.3243, allocations: 367.4 kB / 0.7933 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3247, allocations: 0.7399 MB / 0.794 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.502e-05/0.3248, allocations: 45.59 kB / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.3249, allocations: 19.44 kB / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3249, allocations: 4 kB / 0.794 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of Templates: time 0.007069/0.332, allocations: 2.808 MB / 0.7968 GB, free: 15.5 MB / 0.6231 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)