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.001199/0.001199, allocations: 104.3 kB / 16.36 MB, free: 5.961 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.001183/0.001183, allocations: 192.8 kB / 17.3 MB, free: 5.578 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.927/1.927, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001567/0.001567, allocations: 63.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2276, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002264/0.23, allocations: 0.7083 MB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.231, allocations: 0.8282 MB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.2311, allocations: 0 / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.2312, allocations: 3.938 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.2313, allocations: 11.94 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.2315, allocations: 31.89 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.2316, allocations: 39.86 kB / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2317, allocations: 19.98 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.2318, allocations: 23.92 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.2318, allocations: 19.91 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.2319, allocations: 8 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.2319, allocations: 4 kB / 0.7865 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.2319, allocations: 11.98 kB / 0.7865 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.232, allocations: 19.86 kB / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2321, allocations: 43.86 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2321, allocations: 0 / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2321, allocations: 0 / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2321, allocations: 0 / 0.7865 GB, free: 1.41 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.0005582/0.2327, allocations: 355.4 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2327, allocations: 15.97 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.2328, allocations: 4.844 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.2329, allocations: 176.2 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.233, allocations: 4.375 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.233, allocations: 4.375 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.2332, allocations: 66.22 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2332, allocations: 4.188 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2332, allocations: 3.938 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2332, allocations: 3.938 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.2335, allocations: 51.95 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.234, allocations: 292.6 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.2342, allocations: 66.55 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.2343, allocations: 32.91 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2343, allocations: 0 / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2344, allocations: 34.56 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2344, allocations: 0 / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004167/0.2348, allocations: 113.5 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3621/0.5969, allocations: 56.39 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.5971, allocations: 107 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5971, allocations: 28.52 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.5972, allocations: 85.17 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.5972, allocations: 7.969 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.5973, allocations: 21.19 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.5973, allocations: 315 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.5975, allocations: 23.75 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.5976, allocations: 24.33 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5978, allocations: 59.98 kB / 0.7884 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5978, allocations: 0 / 0.7884 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002496/0.598, allocations: 82.23 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5981, allocations: 9.094 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5981, allocations: 0 / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5981, allocations: 0 / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.5983, allocations: 13.53 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5983, allocations: 4.719 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.5983, allocations: 10.05 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5984, allocations: 4.562 kB / 0.7885 GB, free: 48.24 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 6.546e-05/0.5984, allocations: 118.1 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.5985, allocations: 3.906 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.5985, allocations: 14.11 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.5985, allocations: 3.938 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.5985, allocations: 0.8438 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5985, allocations: 1.125 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.5987, allocations: 173 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5987, allocations: 0 / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.5988, allocations: 15.22 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5988, allocations: 3.188 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.5988, allocations: 0 / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5988, allocations: 7.844 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5988, allocations: 0 / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5991, allocations: 185.7 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.5991, allocations: 81.58 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.5991, allocations: 3.156 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5992, allocations: 9.703 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.5993, allocations: 12.86 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5993, allocations: 2.969 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.5994, allocations: 87.31 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5994, allocations: 0.6562 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002281/0.5996, allocations: 8.062 kB / 0.7892 GB, free: 47.62 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 9.9e-05/0.5997, allocations: 97.98 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.6, allocations: 63.2 kB / 0.7894 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6, allocations: 0 / 0.7894 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.6001, allocations: 33.94 kB / 0.7894 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.6004, allocations: 8.781 kB / 0.7894 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.6008, allocations: 124.2 kB / 0.7895 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.6009, allocations: 0.6831 MB / 0.7902 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.6009, allocations: 7.125 kB / 0.7902 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.601, allocations: 14 kB / 0.7902 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.601, allocations: 2.188 kB / 0.7902 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.003141/0.6041, allocations: 0.8753 MB / 0.7911 GB, free: 46.73 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)