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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 252 MB / 267.6 MB, free: 10.91 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.001033/0.001033, allocations: 174.4 kB / 327.3 MB, free: 2.188 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.711/1.711, allocations: 205.4 MB / 0.5783 GB, free: 20.13 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.0007886/0.0007882, allocations: 93.03 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 10.78 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.208, allocations: 106.3 MB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001341/0.2094, allocations: 1.113 MB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.2098, allocations: 156.5 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.2098, allocations: 0 / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.2098, allocations: 0 / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.2099, allocations: 11.88 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.2101, allocations: 15.97 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.2101, allocations: 39.91 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.2103, allocations: 8 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.2103, allocations: 23.92 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.2104, allocations: 23.89 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.2104, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.2104, allocations: 0 / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.2104, allocations: 4 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.2105, allocations: 33.64 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.949e-05/0.2105, allocations: 31.92 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2106, allocations: 0 / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2106, allocations: 3.938 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2106, allocations: 0 / 0.9023 GB, free: 62.35 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.0004822/0.2111, allocations: 359.5 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2111, allocations: 8.031 kB / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.2111, allocations: 0 / 0.9026 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2113, allocations: 170.9 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2113, allocations: 11.98 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2113, allocations: 0 / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.2115, allocations: 77.59 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2115, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2115, allocations: 3.984 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2115, allocations: 0 / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.2117, allocations: 67.94 kB / 0.9029 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.2121, allocations: 280.8 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.2123, allocations: 74.47 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.2124, allocations: 36.92 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2125, allocations: 4 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2125, allocations: 30.56 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2125, allocations: 0 / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004077/0.2129, allocations: 129.6 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.2129, allocations: 51.41 kB / 0.9035 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.213, allocations: 117.7 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.213, allocations: 29.64 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.2131, allocations: 92.08 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.2131, allocations: 7.906 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.2131, allocations: 0 / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.2132, allocations: 318.8 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2133, allocations: 23.98 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.2134, allocations: 35.97 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.768e-05/0.2135, allocations: 23.98 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2135, allocations: 3.938 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002271/0.2137, allocations: 101.5 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2138, allocations: 8 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2138, allocations: 3.938 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2138, allocations: 0 / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2139, allocations: 11.98 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2139, allocations: 7.953 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.214, allocations: 11.92 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.214, allocations: 8 kB / 0.9043 GB, free: 60.06 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 (intLesThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.2141, allocations: 109.8 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.2141, allocations: 8 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.2141, allocations: 7.891 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.2142, allocations: 0 / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2142, allocations: 0 / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2142, allocations: 7.953 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2143, allocations: 177.6 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2143, allocations: 0 / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.2144, allocations: 19.98 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2144, allocations: 336 / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2144, allocations: 3.984 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2144, allocations: 0 / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2144, allocations: 0 / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.2147, allocations: 203.4 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.2147, allocations: 77.11 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2147, allocations: 0 / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2149, allocations: 11.98 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.2149, allocations: 11.98 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.2149, allocations: 4 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.771e-05/0.215, allocations: 91.27 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.215, allocations: 0 / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002072/0.2152, allocations: 11.91 kB / 0.905 GB, free: 59.23 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.2153, allocations: 99.2 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.2156, allocations: 67.95 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2156, allocations: 0 / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2157, allocations: 39.91 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.216, allocations: 13.52 kB / 0.9052 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.2163, allocations: 170.3 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2164, allocations: 0.6809 MB / 0.906 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.2165, allocations: 11.44 kB / 0.906 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2165, allocations: 0 / 0.906 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.00179/0.2183, allocations: 0.8064 MB / 0.9068 GB, free: 57.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)