Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.882/2.882, allocations: 287.5 MB / 302.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 186 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000984/0.0009839, allocations: 97.05 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 11.66 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2369, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0008987/0.2378, allocations: 425.6 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.2388, allocations: 0.8283 MB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.2389, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.2389, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.239, allocations: 3.938 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.2392, allocations: 23.98 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.2393, allocations: 39.91 kB / 0.9796 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2394, allocations: 11.92 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.2395, allocations: 19.92 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.2395, allocations: 15.92 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2396, allocations: 4 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.2396, allocations: 0 / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.2396, allocations: 15.92 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.2397, allocations: 29.7 kB / 0.9797 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.034e-05/0.2397, allocations: 35.91 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2397, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2398, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2398, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 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.0005708/0.2403, allocations: 351.5 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2404, allocations: 12.02 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2404, allocations: 3.906 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2406, allocations: 175 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2406, allocations: 4 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.2406, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.2409, allocations: 77.59 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2409, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2409, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2409, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.2413, allocations: 67.94 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.2418, allocations: 292.7 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.2421, allocations: 78.47 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.2423, allocations: 28.92 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2423, allocations: 4 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2423, allocations: 38.56 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.2424, allocations: 0 / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006231/0.243, allocations: 129.5 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.243, allocations: 51.41 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.2431, allocations: 113.8 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2431, allocations: 29.64 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.2432, allocations: 84.05 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2432, allocations: 15.84 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-06/0.2432, allocations: 0 / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.2433, allocations: 314.8 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.2435, allocations: 27.98 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.2437, allocations: 37.03 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.2438, allocations: 28.06 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2438, allocations: 0 / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003927/0.2442, allocations: 93.64 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2443, allocations: 10.03 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2443, allocations: 0 / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2443, allocations: 0 / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.2445, allocations: 19.92 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2445, allocations: 7.953 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2447, allocations: 7.984 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2447, allocations: 8 kB / 0.9818 GB, free: 24.59 MB / 0.6198 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 7.234e-05/0.2448, allocations: 105.8 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.2448, allocations: 7.906 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.2449, allocations: 7.906 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2449, allocations: 3.984 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2449, allocations: 8 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2449, allocations: 3.953 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.2451, allocations: 169.6 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2451, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2452, allocations: 15.98 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2453, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2453, allocations: 3.984 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2453, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2453, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.2457, allocations: 203.3 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.2458, allocations: 81.11 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.2458, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.246, allocations: 15.98 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.246, allocations: 11.98 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2461, allocations: 4 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.2461, allocations: 83.27 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.232e-06/0.2461, allocations: 0 / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002765/0.2464, allocations: 15.94 kB / 0.9825 GB, free: 23.77 MB / 0.6198 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.0001038/0.2465, allocations: 99.2 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.2469, allocations: 67.89 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.247, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.2472, allocations: 43.91 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2475, allocations: 4 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.2479, allocations: 136.7 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2481, allocations: 0.6809 MB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.113e-05/0.2482, allocations: 11.91 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.2483, allocations: 15.42 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of SimCode: time 1.433e-06/0.2483, allocations: 0 / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.003554/0.2518, allocations: 0.7441 MB / 0.9842 GB, free: 21.91 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)