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.00138/0.00138, allocations: 106 kB / 16.27 MB, free: 6.023 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.002234/0.002234, allocations: 191 kB / 17.2 MB, free: 5.66 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.58/1.58, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.858/1.858, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001609/0.00161, allocations: 71.7 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.305, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004068/0.3091, allocations: 1.99 MB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3112, allocations: 1.12 MB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3114, allocations: 3.938 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.312, allocations: 155.4 kB / 0.7872 GB, free: 0.5742 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.0004076/0.3124, allocations: 159.4 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.3129, allocations: 187.3 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4712/0.7841, allocations: 307.3 kB / 0.7879 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.7844, allocations: 44.03 kB / 0.7879 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.7848, allocations: 139.6 kB / 0.788 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.785, allocations: 150.5 kB / 0.7882 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.785, allocations: 13.97 kB / 0.7882 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.7853, allocations: 64.73 kB / 0.7882 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.7854, allocations: 85.17 kB / 0.7883 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.7855, allocations: 122.9 kB / 0.7884 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.7859, allocations: 364.1 kB / 0.7888 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.786, allocations: 0 / 0.7888 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.786, allocations: 0 / 0.7888 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.786, allocations: 0 / 0.7888 GB, free: 45.87 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.0009488/0.7869, allocations: 0.62 MB / 0.7894 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.787, allocations: 10.59 kB / 0.7894 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.7871, allocations: 38.56 kB / 0.7894 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.7875, allocations: 375.4 kB / 0.7898 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.7875, allocations: 5.75 kB / 0.7898 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.7876, allocations: 8.656 kB / 0.7898 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.7878, allocations: 120.9 kB / 0.7899 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7878, allocations: 0 / 0.7899 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.7878, allocations: 3.812 kB / 0.7899 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7879, allocations: 2.906 kB / 0.7899 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.788, allocations: 56.23 kB / 0.79 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.7887, allocations: 0.4943 MB / 0.7905 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.7891, allocations: 138.1 kB / 0.7906 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.7892, allocations: 46.31 kB / 0.7907 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.7892, allocations: 6 kB / 0.7907 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.7895, allocations: 107.5 kB / 0.7908 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.7895, allocations: 0 / 0.7908 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004937/0.79, allocations: 228.8 kB / 0.791 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.79, allocations: 54.03 kB / 0.791 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.7905, allocations: 0.5097 MB / 0.7915 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.7906, allocations: 28.92 kB / 0.7916 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.7907, allocations: 167.9 kB / 0.7917 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.7908, allocations: 39.94 kB / 0.7918 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.7909, allocations: 70.08 kB / 0.7918 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.7909, allocations: 348.7 kB / 0.7922 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.7911, allocations: 99.94 kB / 0.7922 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.7913, allocations: 132 kB / 0.7924 GB, free: 44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.7916, allocations: 179.5 kB / 0.7925 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7916, allocations: 2.469 kB / 0.7925 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004671/0.7921, allocations: 324 kB / 0.7929 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.7921, allocations: 3.5 kB / 0.7929 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.7921, allocations: 4.938 kB / 0.7929 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7922, allocations: 0 / 0.7929 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.7924, allocations: 49.64 kB / 0.7929 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7924, allocations: 8.594 kB / 0.7929 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.7925, allocations: 21.83 kB / 0.7929 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.7926, allocations: 13.47 kB / 0.793 GB, free: 43.91 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.000143/0.7927, allocations: 182.5 kB / 0.7931 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.7928, allocations: 29.44 kB / 0.7932 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.7928, allocations: 38.5 kB / 0.7932 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.7928, allocations: 4.469 kB / 0.7932 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7928, allocations: 4.5 kB / 0.7932 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7929, allocations: 0 / 0.7932 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.7931, allocations: 295.3 kB / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7931, allocations: 0 / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.7932, allocations: 20.52 kB / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7932, allocations: 0 / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.7932, allocations: 10.36 kB / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7932, allocations: 0 / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7932, allocations: 4.781 kB / 0.7935 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.7935, allocations: 202.3 kB / 0.7937 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.7936, allocations: 118.1 kB / 0.7938 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.7937, allocations: 6.75 kB / 0.7938 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.7938, allocations: 6.688 kB / 0.7938 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.7938, allocations: 28.27 kB / 0.7939 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.7939, allocations: 6.25 kB / 0.7939 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002801/0.7941, allocations: 315 kB / 0.7942 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7942, allocations: 3.938 kB / 0.7942 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002817/0.7944, allocations: 52.52 kB / 0.7942 GB, free: 43.29 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.00101/0.7955, allocations: 424.9 kB / 0.7946 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.7959, allocations: 200.7 kB / 0.7948 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7959, allocations: 0 / 0.7948 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.796, allocations: 61.78 kB / 0.7949 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.7965, allocations: 93.14 kB / 0.795 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.7973, allocations: 0.5611 MB / 0.7955 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.7975, allocations: 0.7876 MB / 0.7963 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.7976, allocations: 34.56 kB / 0.7963 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.7976, allocations: 1.5 kB / 0.7963 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.008726/0.8063, allocations: 4.397 MB / 0.8006 GB, free: 41.87 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)