Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.837/1.837, allocations: 287.5 MB / 302.6 MB, free: 8.203 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.001245/0.001245, allocations: 178.2 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 0.6298 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.0008587/0.0008583, allocations: 95.75 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 10.75 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2865, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001118/0.2877, allocations: 417.7 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2888, allocations: 0.8244 MB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.2888, allocations: 0 / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.2889, allocations: 3.938 kB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.987e-05/0.289, allocations: 0 / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.2891, allocations: 23.98 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.2892, allocations: 39.84 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2893, allocations: 19.98 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.2894, allocations: 15.92 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.2894, allocations: 27.8 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2895, allocations: 0 / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.2895, allocations: 4 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.2895, allocations: 7.969 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.2895, allocations: 33.7 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.27e-05/0.2896, allocations: 23.94 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2896, allocations: 8 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2896, allocations: 0 / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2896, allocations: 0 / 0.9801 GB, free: 26.73 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.0004679/0.2901, allocations: 351.7 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2902, allocations: 11.97 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2902, allocations: 8.844 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2904, allocations: 168.3 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2904, allocations: 8.375 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.2904, allocations: 384 / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2906, allocations: 70.22 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2906, allocations: 192 / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2906, allocations: 7.938 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2907, allocations: 4 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.2909, allocations: 59.95 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.2913, allocations: 296.6 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.2915, allocations: 70.55 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2916, allocations: 32.91 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2916, allocations: 0 / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2917, allocations: 34.56 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.2917, allocations: 4 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004224/0.2921, allocations: 121.6 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2921, allocations: 51.41 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.2922, allocations: 113.8 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2923, allocations: 25.7 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.2923, allocations: 88.05 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.2924, allocations: 11.89 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.2924, allocations: 7.938 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.2924, allocations: 310.8 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.2925, allocations: 27.98 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2927, allocations: 31.97 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.2929, allocations: 72.69 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2929, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002106/0.2931, allocations: 97.55 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2931, allocations: 6.5 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2931, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2931, allocations: 336 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2933, allocations: 23.92 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2933, allocations: 0 / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.2934, allocations: 11.98 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2934, allocations: 0 / 0.9821 GB, free: 24.43 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 (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 7.425e-05/0.2935, allocations: 125.7 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.2935, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.2935, allocations: 11.84 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2935, allocations: 8 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2935, allocations: 0 / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2935, allocations: 0 / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2937, allocations: 173.6 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2937, allocations: 0 / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.2938, allocations: 15.98 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2938, allocations: 4 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.2938, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2938, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2938, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.2941, allocations: 195.3 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.2941, allocations: 85.09 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2942, allocations: 4 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.2943, allocations: 8 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.2943, allocations: 11.97 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2944, allocations: 11.94 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.2944, allocations: 79.28 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2944, allocations: 0 / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001955/0.2946, allocations: 12 kB / 0.9829 GB, free: 23.6 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 (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.0001234/0.2947, allocations: 107.2 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.295, allocations: 59.95 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.295, allocations: 0 / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2951, allocations: 43.97 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2954, allocations: 7.875 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.2957, allocations: 140.6 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.2959, allocations: 0.6848 MB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.843e-05/0.296, allocations: 4 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.296, allocations: 11.44 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.296, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.00277/0.2988, allocations: 0.7466 MB / 0.9846 GB, free: 21.74 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)