Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007981/0.000798, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001055/0.001055, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.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.683/1.683, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0005398/0.0005399, allocations: 14.31 kB / 0.6737 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2333, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0008948/0.2342, allocations: 429.5 kB / 0.7877 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.2352, allocations: 0.8254 MB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.2352, allocations: 4 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.2353, allocations: 4 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.2354, allocations: 3.938 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.2355, allocations: 23.97 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.2356, allocations: 35.92 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.2357, allocations: 7.984 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.2357, allocations: 19.92 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.2358, allocations: 19.91 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2358, allocations: 4 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.2359, allocations: 4 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2359, allocations: 11.94 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2359, allocations: 25.7 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.468e-05/0.236, allocations: 35.91 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.236, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.236, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.236, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 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.0004925/0.2365, allocations: 359.5 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2365, allocations: 8.031 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.2366, allocations: 7.906 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.2368, allocations: 174.9 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2368, allocations: 0 / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.2368, allocations: 8 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.237, allocations: 65.66 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.237, allocations: 4 kB / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2371, allocations: 4 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2371, allocations: 0 / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.2373, allocations: 59.94 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.2377, allocations: 296.7 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.2379, allocations: 70.53 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.238, allocations: 44.8 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.238, allocations: 0 / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2381, allocations: 34.56 kB / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2381, allocations: 0 / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004347/0.2385, allocations: 125.5 kB / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2385, allocations: 59.36 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.2386, allocations: 109.8 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2387, allocations: 25.7 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.2387, allocations: 84.05 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.2387, allocations: 11.91 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.2387, allocations: 0 / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.2388, allocations: 318.8 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.2389, allocations: 31.98 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.239, allocations: 27.97 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/0.2391, allocations: 27.98 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2391, allocations: 0 / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002208/0.2394, allocations: 97.86 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2394, allocations: 4 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2394, allocations: 4 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2394, allocations: 0 / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.2395, allocations: 15.98 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2396, allocations: 0 / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.2396, allocations: 19.89 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.2396, allocations: 7.984 kB / 0.7907 GB, free: 8.203 MB / 0.6075 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 (intLesEquThr.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 8.182e-05/0.2397, allocations: 105.8 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2398, allocations: 8 kB / 0.7908 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.2398, allocations: 7.906 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2398, allocations: 0 / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2398, allocations: 7.984 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2398, allocations: 0 / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.24, allocations: 173.5 kB / 0.791 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.24, allocations: 0 / 0.791 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.2401, allocations: 15.98 kB / 0.791 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.2401, allocations: 3.938 kB / 0.791 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2402, allocations: 7.984 kB / 0.791 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2402, allocations: 0 / 0.791 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2402, allocations: 3.938 kB / 0.791 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.2404, allocations: 199.4 kB / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.2405, allocations: 81.11 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.2405, allocations: 4 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.2406, allocations: 11.98 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.2407, allocations: 11.98 kB / 0.7913 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2407, allocations: 3.938 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.2407, allocations: 83.28 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2407, allocations: 0 / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002159/0.241, allocations: 12 kB / 0.7914 GB, free: 7.375 MB / 0.6075 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 (intLesEquThr.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.000119/0.2411, allocations: 103.2 kB / 0.7915 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2413, allocations: 63.89 kB / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2413, allocations: 0 / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.2415, allocations: 43.97 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2417, allocations: 10.88 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.2421, allocations: 140.6 kB / 0.7918 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2423, allocations: 0.6848 MB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.283e-05/0.2424, allocations: 0 / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.2424, allocations: 15.42 kB / 0.7925 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2424, allocations: 0 / 0.7925 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.002706/0.2451, allocations: 0.7404 MB / 0.7932 GB, free: 5.531 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) Environment - environmentSimulation: