Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 104.9 kB / 16.29 MB, free: 6.371 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.001056/0.001056, allocations: 187 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.972/1.972, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001566/0.001566, allocations: 67.91 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3094, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003963/0.3134, allocations: 1.998 MB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3155, allocations: 1.109 MB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3156, allocations: 7.938 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.3161, allocations: 155.5 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.3165, allocations: 151.3 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.3171, allocations: 194.7 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.6101/0.9272, allocations: 314.4 kB / 0.7879 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003935/0.9276, allocations: 47.05 kB / 0.7879 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.9281, allocations: 138.2 kB / 0.7881 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.9283, allocations: 148.2 kB / 0.7882 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.9284, allocations: 15.34 kB / 0.7882 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.9286, allocations: 56.08 kB / 0.7883 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.9287, allocations: 92.78 kB / 0.7884 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.9288, allocations: 117.5 kB / 0.7885 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.9293, allocations: 369.5 kB / 0.7888 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.9293, allocations: 0 / 0.7888 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9294, allocations: 3.625 kB / 0.7888 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.9294, allocations: 0 / 0.7888 GB, free: 45.84 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009803/0.9304, allocations: 0.6282 MB / 0.7895 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.9304, allocations: 8.125 kB / 0.7895 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.9305, allocations: 36.66 kB / 0.7895 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.931, allocations: 367.7 kB / 0.7899 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.931, allocations: 11.62 kB / 0.7899 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.931, allocations: 9.75 kB / 0.7899 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.9313, allocations: 115.4 kB / 0.79 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9313, allocations: 0 / 0.79 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.9313, allocations: 3.469 kB / 0.79 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9313, allocations: 0 / 0.79 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.9315, allocations: 65.27 kB / 0.79 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.9323, allocations: 497.8 kB / 0.7905 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.9327, allocations: 140.1 kB / 0.7907 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.9328, allocations: 48.78 kB / 0.7907 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.9328, allocations: 0.5469 kB / 0.7907 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.933, allocations: 117.4 kB / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.933, allocations: 0 / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004985/0.9335, allocations: 218.8 kB / 0.791 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.9336, allocations: 55.25 kB / 0.7911 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.9341, allocations: 0.5129 MB / 0.7916 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.9342, allocations: 31.08 kB / 0.7916 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.9343, allocations: 171.1 kB / 0.7918 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.9343, allocations: 42.84 kB / 0.7918 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.9345, allocations: 66.34 kB / 0.7919 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9346, allocations: 344.8 kB / 0.7922 GB, free: 44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.9348, allocations: 104.4 kB / 0.7923 GB, free: 44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.935, allocations: 129.9 kB / 0.7924 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.9353, allocations: 178.3 kB / 0.7926 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9353, allocations: 0 / 0.7926 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004977/0.9358, allocations: 326.4 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9358, allocations: 7.547 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9358, allocations: 2.156 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.9358, allocations: 4.531 kB / 0.7929 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.9361, allocations: 49.83 kB / 0.793 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.9361, allocations: 8.219 kB / 0.793 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.9362, allocations: 22.88 kB / 0.793 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.9363, allocations: 11.12 kB / 0.793 GB, free: 43.88 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.000171/0.9364, allocations: 183.5 kB / 0.7932 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.9365, allocations: 29.28 kB / 0.7932 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.9366, allocations: 37.5 kB / 0.7932 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.9366, allocations: 1.094 kB / 0.7932 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9366, allocations: 8.125 kB / 0.7933 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9366, allocations: 0 / 0.7933 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.9369, allocations: 292.8 kB / 0.7935 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9369, allocations: 0 / 0.7935 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.9369, allocations: 16.8 kB / 0.7936 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9369, allocations: 0 / 0.7936 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.937, allocations: 6.75 kB / 0.7936 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.937, allocations: 2.719 kB / 0.7936 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.937, allocations: 4.938 kB / 0.7936 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.9373, allocations: 205.9 kB / 0.7938 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.9374, allocations: 118.1 kB / 0.7939 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.9375, allocations: 6.625 kB / 0.7939 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.9376, allocations: 11.16 kB / 0.7939 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.9377, allocations: 23.83 kB / 0.7939 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.9377, allocations: 10.86 kB / 0.7939 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003124/0.938, allocations: 316.6 kB / 0.7942 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.938, allocations: 1.062 kB / 0.7942 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002941/0.9383, allocations: 54.03 kB / 0.7943 GB, free: 43.26 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001243/0.9396, allocations: 418.8 kB / 0.7947 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.94, allocations: 195.6 kB / 0.7949 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.94, allocations: 0 / 0.7949 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.9401, allocations: 70.66 kB / 0.7949 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.9406, allocations: 93.98 kB / 0.795 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008151/0.9414, allocations: 0.5206 MB / 0.7955 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.9417, allocations: 0.7798 MB / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.9419, allocations: 57.91 kB / 0.7963 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.942, allocations: 31.73 kB / 0.7964 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of SimCode: time 1.363e-06/0.942, allocations: 0 / 0.7964 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.01022/0.9522, allocations: 4.064 MB / 0.8003 GB, free: 42.01 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)