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.459/1.459, allocations: 252 MB / 268 MB, free: 10.88 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.00106/0.00106, allocations: 178.4 kB / 327.6 MB, free: 2.113 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.654/1.654, allocations: 205.4 MB / 0.5786 GB, free: 20.2 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.0009259/0.0009265, allocations: 76.94 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 11.62 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00161/0.2341, allocations: 1.132 MB / 0.9026 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.2346, allocations: 156.4 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.2346, allocations: 0 / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.2347, allocations: 3.938 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.2348, allocations: 4 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.235, allocations: 15.98 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.2351, allocations: 43.84 kB / 0.9028 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2352, allocations: 16 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.2353, allocations: 15.97 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.2354, allocations: 27.8 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.2354, allocations: 4 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.2354, allocations: 0 / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.2355, allocations: 7.984 kB / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.2355, allocations: 45.56 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.53e-05/0.2356, allocations: 31.92 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2356, allocations: 0 / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2356, allocations: 0 / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2356, allocations: 0 / 0.9029 GB, free: 62.02 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.0005039/0.2361, allocations: 359.7 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2362, allocations: 8.031 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.2362, allocations: 0.9375 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2363, allocations: 172.3 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2364, allocations: 8.375 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2364, allocations: 384 / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.2366, allocations: 78.2 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2366, allocations: 4.125 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2366, allocations: 3.938 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2367, allocations: 0 / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.2369, allocations: 63.95 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.2373, allocations: 288.8 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.2375, allocations: 78.47 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2376, allocations: 40.91 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2376, allocations: 0 / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2376, allocations: 30.56 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2377, allocations: 0 / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004015/0.2381, allocations: 129.5 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.2381, allocations: 55.41 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.2382, allocations: 105.8 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.2382, allocations: 29.7 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.2382, allocations: 96.02 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2383, allocations: 15.73 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.2383, allocations: 0 / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.2383, allocations: 314.8 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.2384, allocations: 31.97 kB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.2385, allocations: 27.98 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.2387, allocations: 64.75 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2387, allocations: 0 / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002439/0.239, allocations: 97.64 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.239, allocations: 10.5 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.239, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.239, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2392, allocations: 15.92 kB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2392, allocations: 4 kB / 0.905 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.2393, allocations: 11.98 kB / 0.905 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2393, allocations: 4 kB / 0.905 GB, free: 59.7 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 (intGreThr.y,reaToInt.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.462e-05/0.2393, allocations: 113.8 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.2394, allocations: 7.906 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.2394, allocations: 7.906 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2394, allocations: 3.984 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2394, allocations: 0 / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2394, allocations: 8 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2396, allocations: 169.6 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2396, allocations: 4 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.066e-05/0.2397, allocations: 15.98 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2397, allocations: 0 / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2397, allocations: 3.984 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2397, allocations: 0 / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2397, allocations: 0 / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.24, allocations: 199.7 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.24, allocations: 85.05 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.24, allocations: 0 / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.2402, allocations: 19.98 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.2402, allocations: 7.984 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2402, allocations: 4 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.2403, allocations: 91.2 kB / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2403, allocations: 0 / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002053/0.2405, allocations: 8 kB / 0.9057 GB, free: 58.86 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.0001011/0.2406, allocations: 107.1 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.2408, allocations: 63.95 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2409, allocations: 0 / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.241, allocations: 39.91 kB / 0.9059 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.2413, allocations: 18.34 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.2416, allocations: 166.4 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2417, allocations: 0.6809 MB / 0.9067 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.2418, allocations: 11.44 kB / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2418, allocations: 0 / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.001928/0.2437, allocations: 0.8014 MB / 0.9075 GB, free: 56.93 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)