Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001361/0.001362, allocations: 104.7 kB / 16.35 MB, free: 5.879 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.0016/0.001601, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.887/1.887, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001629/0.001629, allocations: 79.88 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3137, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002089/0.3159, allocations: 0.7092 MB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.3169, allocations: 0.8282 MB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.3169, allocations: 0 / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.317, allocations: 3.938 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.317, allocations: 3.938 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.3172, allocations: 35.91 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.3173, allocations: 47.84 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3174, allocations: 12 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.3175, allocations: 19.91 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.3176, allocations: 27.91 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3176, allocations: 4 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.3176, allocations: 4 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3176, allocations: 12 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.3177, allocations: 27.84 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.478e-05/0.3178, allocations: 39.86 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3178, allocations: 0 / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3178, allocations: 0 / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3178, allocations: 0 / 0.7865 GB, free: 1.375 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.0005277/0.3183, allocations: 355.4 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3184, allocations: 11.97 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3184, allocations: 12.84 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3186, allocations: 176.3 kB / 0.787 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3186, allocations: 384 / 0.787 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3186, allocations: 4.375 kB / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3188, allocations: 66.2 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3188, allocations: 192 / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3188, allocations: 7.938 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3189, allocations: 4 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.3191, allocations: 47.94 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.3196, allocations: 296.7 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3198, allocations: 70.45 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3199, allocations: 28.92 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3199, allocations: 0 / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.3199, allocations: 38.55 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.32, allocations: 0 / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004217/0.3204, allocations: 109.6 kB / 0.7877 GB, free: 0 / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4726/0.793, allocations: 51.41 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.7932, allocations: 107 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.7932, allocations: 27.73 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.7933, allocations: 89.47 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.7933, allocations: 9.938 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.7934, allocations: 17.06 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.7934, allocations: 318.2 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.7936, allocations: 22.47 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.7937, allocations: 26.8 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.7939, allocations: 55.86 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7939, allocations: 1.938 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002484/0.7941, allocations: 85.42 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7942, allocations: 5.312 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7942, allocations: 0.5938 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.7942, allocations: 3.75 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.7944, allocations: 14.66 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.7944, allocations: 7.062 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.7945, allocations: 8.438 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.7945, allocations: 0 / 0.7885 GB, free: 48.29 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 6.579e-05/0.7945, allocations: 117 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.7946, allocations: 8.469 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.7946, allocations: 14.61 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7946, allocations: 0 / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7946, allocations: 0 / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7946, allocations: 2.688 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.7948, allocations: 175.2 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7948, allocations: 2.688 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.7949, allocations: 13.86 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7949, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.7949, allocations: 3.938 kB / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7949, allocations: 0 / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7949, allocations: 3.5 kB / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.7952, allocations: 181.1 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.7952, allocations: 81.02 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.7952, allocations: 8.906 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.7953, allocations: 9.141 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.7954, allocations: 11.03 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.7954, allocations: 0.5312 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.7955, allocations: 91.95 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7955, allocations: 0 / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002182/0.7957, allocations: 8.562 kB / 0.7892 GB, free: 47.67 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.0001166/0.7958, allocations: 101.3 kB / 0.7893 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.7961, allocations: 55.83 kB / 0.7893 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7961, allocations: 0.5625 kB / 0.7893 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.7962, allocations: 38.98 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.7966, allocations: 4.5 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.7969, allocations: 125.2 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.7971, allocations: 0.6822 MB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.7971, allocations: 7.938 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.7972, allocations: 11.56 kB / 0.7902 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.7972, allocations: 2.812 kB / 0.7902 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of Templates: time 0.003259/0.8004, allocations: 0.8851 MB / 0.7911 GB, free: 46.78 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)