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.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 180.8 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000794/0.0007941, allocations: 94.22 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 11.44 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2979, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001933/0.2999, allocations: 1.136 MB / 0.8979 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000466/0.3004, allocations: 157.2 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.3005, allocations: 0 / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.006e-05/0.3006, allocations: 7.922 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.3007, allocations: 0 / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3008, allocations: 23.97 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.3009, allocations: 35.92 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3011, allocations: 16.27 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.3012, allocations: 19.88 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.3012, allocations: 27.89 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.3013, allocations: 0 / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.3013, allocations: 7.938 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.3013, allocations: 0 / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.3014, allocations: 19.86 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3015, allocations: 39.86 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3015, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3015, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.3016, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 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.0005363/0.3021, allocations: 351.4 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3022, allocations: 12.03 kB / 0.8985 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.3022, allocations: 4.922 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3023, allocations: 176.2 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3024, allocations: 4.375 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3024, allocations: 4.375 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3026, allocations: 82.14 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3026, allocations: 192 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3027, allocations: 3.938 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3027, allocations: 0 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.3029, allocations: 59.94 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.3034, allocations: 288.8 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3036, allocations: 74.47 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3037, allocations: 40.92 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3037, allocations: 4 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3038, allocations: 30.56 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3038, allocations: 0 / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004049/0.3042, allocations: 125.5 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.3042, allocations: 59.41 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.3043, allocations: 109.8 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3043, allocations: 25.7 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3044, allocations: 88.14 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3044, allocations: 19.81 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.3044, allocations: 9.719 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.3045, allocations: 322.8 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.3046, allocations: 23.98 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.3047, allocations: 31.97 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3049, allocations: 68.75 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3049, allocations: 3.938 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002201/0.3051, allocations: 89.66 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3051, allocations: 8 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3052, allocations: 3.984 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3052, allocations: 0 / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3053, allocations: 19.92 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3053, allocations: 0 / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3055, allocations: 12 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3055, allocations: 3.984 kB / 0.9003 GB, free: 64.33 MB / 0.6042 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 7.893e-05/0.3056, allocations: 117.8 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.3056, allocations: 3.906 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.3056, allocations: 7.906 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3057, allocations: 4.328 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3057, allocations: 0 / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3057, allocations: 3.938 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3058, allocations: 177.6 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3058, allocations: 3.984 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.3059, allocations: 15.98 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3059, allocations: 0 / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.306, allocations: 4 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.306, allocations: 0 / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.306, allocations: 0 / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.3062, allocations: 199.4 kB / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.3063, allocations: 81.02 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3063, allocations: 7.984 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.3064, allocations: 8 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.3065, allocations: 11.98 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3065, allocations: 7.984 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.3065, allocations: 83.28 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.3065, allocations: 0 / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002104/0.3068, allocations: 8 kB / 0.901 GB, free: 63.5 MB / 0.6042 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.0001203/0.3069, allocations: 99.25 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.3071, allocations: 71.88 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3072, allocations: 0 / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.3073, allocations: 35.97 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3076, allocations: 15.12 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.3079, allocations: 169.8 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.3081, allocations: 0.6809 MB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.3081, allocations: 11.44 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.3081, allocations: 0 / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.002429/0.3106, allocations: 0.8 MB / 0.9028 GB, free: 61.57 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)