Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.009361/0.009361, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001713/0.001714, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001762/0.001762, allocations: 78.08 kB / 0.7258 GB, free: 9.145 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3017, allocations: 104.7 MB / 0.828 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002514/0.3043, allocations: 1.41 MB / 0.8294 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004024/0.3047, allocations: 152.4 kB / 0.8296 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.3048, allocations: 4 kB / 0.8296 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.3048, allocations: 3.938 kB / 0.8296 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.692e-05/0.3049, allocations: 7.938 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.3051, allocations: 23.91 kB / 0.8296 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3052, allocations: 47.84 kB / 0.8297 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3053, allocations: 15.98 kB / 0.8297 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.984e-05/0.3054, allocations: 15.98 kB / 0.8297 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.3055, allocations: 27.86 kB / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3055, allocations: 8 kB / 0.8297 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.3055, allocations: 4 kB / 0.8297 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.3055, allocations: 11.97 kB / 0.8297 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.3056, allocations: 23.86 kB / 0.8298 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3057, allocations: 43.86 kB / 0.8298 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3057, allocations: 0 / 0.8298 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3057, allocations: 0 / 0.8298 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3057, allocations: 0 / 0.8298 GB, free: 14.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005617/0.3063, allocations: 359.4 kB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3063, allocations: 12.03 kB / 0.8302 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3064, allocations: 4.844 kB / 0.8302 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3065, allocations: 176.2 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3065, allocations: 384 / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3066, allocations: 8.375 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3068, allocations: 66.22 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3068, allocations: 192 / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3068, allocations: 7.922 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3068, allocations: 4 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.307, allocations: 47.95 kB / 0.8305 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.3075, allocations: 296.6 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.3077, allocations: 62.55 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3079, allocations: 32.91 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3079, allocations: 4.078 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3079, allocations: 34.56 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3079, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004288/0.3083, allocations: 101.6 kB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3084, allocations: 63.39 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.3085, allocations: 109.8 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3085, allocations: 29.64 kB / 0.8312 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.3086, allocations: 96.03 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3086, allocations: 7.844 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.3087, allocations: 17.72 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3088, allocations: 314.8 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3089, allocations: 19.98 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.309, allocations: 31.97 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.3092, allocations: 56.75 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3092, allocations: 0 / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002215/0.3095, allocations: 85.58 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3095, allocations: 4 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3095, allocations: 4 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3095, allocations: 4 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3096, allocations: 11.98 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3096, allocations: 0 / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.3097, allocations: 11.98 kB / 0.8318 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3097, allocations: 0 / 0.8318 GB, free: 12.26 MB / 0.6544 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 (reaToInt.y,intLesThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.668e-05/0.3098, allocations: 117.8 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3099, allocations: 3.906 kB / 0.8319 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.3099, allocations: 7.906 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3099, allocations: 8 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3099, allocations: 0 / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3099, allocations: 3.984 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3101, allocations: 169.6 kB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3101, allocations: 4.266 kB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.3102, allocations: 15.92 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3102, allocations: 4 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3103, allocations: 0 / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3103, allocations: 3.984 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3103, allocations: 0 / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3106, allocations: 187.3 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.3106, allocations: 85.09 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3107, allocations: 4 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3108, allocations: 7.984 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.3108, allocations: 11.98 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3108, allocations: 0 / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.3109, allocations: 91.28 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3109, allocations: 0 / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002102/0.3111, allocations: 4 kB / 0.8325 GB, free: 11.45 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: 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 (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.0001375/0.3113, allocations: 107.2 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.3115, allocations: 47.95 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3115, allocations: 0 / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3117, allocations: 43.91 kB / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.312, allocations: 7.938 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.3123, allocations: 137.5 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3127, allocations: 0.6882 MB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.3127, allocations: 8 kB / 0.8335 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.3128, allocations: 11.44 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.3128, allocations: 0 / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.003049/0.3158, allocations: 0.883 MB / 0.8344 GB, free: 9.465 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)