Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 103.6 kB / 16.29 MB, free: 6.43 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.001383/0.001383, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.699/1.699, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 2.006/2.006, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001497/0.001497, allocations: 72.45 kB / 0.6722 GB, free: 6.465 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3274, allocations: 114.6 MB / 0.7841 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002556/0.3301, allocations: 0.6936 MB / 0.7848 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3313, allocations: 0.8321 MB / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.3313, allocations: 0 / 0.7856 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.3314, allocations: 3.938 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.3314, allocations: 3.938 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.3316, allocations: 31.89 kB / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.3317, allocations: 47.86 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3318, allocations: 15.98 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.3319, allocations: 15.92 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.332, allocations: 27.91 kB / 0.7857 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.332, allocations: 4 kB / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.332, allocations: 4 kB / 0.7857 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.332, allocations: 11.98 kB / 0.7857 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.3321, allocations: 23.86 kB / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.3322, allocations: 47.86 kB / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3322, allocations: 0 / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3322, allocations: 0 / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3322, allocations: 0 / 0.7858 GB, free: 2.008 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.0005138/0.3327, allocations: 355.7 kB / 0.7861 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3328, allocations: 11.97 kB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.3328, allocations: 12.83 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3329, allocations: 168.3 kB / 0.7863 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.333, allocations: 8.375 kB / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.333, allocations: 4.375 kB / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3331, allocations: 66.22 kB / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.3332, allocations: 192 / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3332, allocations: 3.938 kB / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-06/0.3332, allocations: 0 / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3334, allocations: 51.94 kB / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3338, allocations: 304.7 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3339, allocations: 62.53 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3341, allocations: 32.91 kB / 0.7868 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3341, allocations: 0 / 0.7868 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3341, allocations: 38.56 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3341, allocations: 0 / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003509/0.3345, allocations: 109.5 kB / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3345, allocations: 55.34 kB / 0.787 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.3346, allocations: 113.8 kB / 0.7871 GB, free: 456 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3346, allocations: 29.7 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/0.3347, allocations: 88.14 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.3347, allocations: 3.906 kB / 0.7873 GB, free: 324 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3348, allocations: 21.7 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4769/0.8117, allocations: 314.8 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.8119, allocations: 22.33 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.8121, allocations: 20.03 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.8123, allocations: 60.17 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8123, allocations: 2.562 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002594/0.8125, allocations: 86.11 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.8126, allocations: 6 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8126, allocations: 0 / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.8126, allocations: 2.844 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.8128, allocations: 12.3 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8128, allocations: 7.469 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.8129, allocations: 12.75 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.8129, allocations: 0 / 0.7878 GB, free: 48.41 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,intGreThr.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 8.339e-05/0.813, allocations: 115 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.813, allocations: 5.438 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.813, allocations: 11.05 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.813, allocations: 4.156 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8131, allocations: 3.938 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8131, allocations: 1.219 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.8133, allocations: 174.6 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.8133, allocations: 0.5938 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.8134, allocations: 11.48 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.8134, allocations: 0 / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.8134, allocations: 3.531 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8134, allocations: 0 / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.247e-06/0.8134, allocations: 7.219 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.8137, allocations: 175.1 kB / 0.7883 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.8137, allocations: 87.72 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.8137, allocations: 3.938 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.8138, allocations: 14.61 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.8139, allocations: 14.03 kB / 0.7884 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.8139, allocations: 3.406 kB / 0.7884 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.739e-05/0.814, allocations: 87.84 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.814, allocations: 0 / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002219/0.8142, allocations: 8.594 kB / 0.7885 GB, free: 47.8 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 (intGreThr.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.0001556/0.8144, allocations: 98.12 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.8147, allocations: 55.16 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8147, allocations: 0.5938 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.8148, allocations: 31.69 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.8152, allocations: 10.42 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.8157, allocations: 133 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.8159, allocations: 0.6797 MB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.8159, allocations: 6.719 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.816, allocations: 18.23 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.816, allocations: 4.625 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.003383/0.8194, allocations: 0.8781 MB / 0.7904 GB, free: 46.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)