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.001169/0.001169, allocations: 102.5 kB / 16.36 MB, free: 6.414 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.001262/0.001262, allocations: 189.7 kB / 17.3 MB, free: 5.793 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.874/1.874, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001586/0.001586, allocations: 67.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2381, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004078/0.2423, allocations: 1.991 MB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.2444, allocations: 1.105 MB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.2446, allocations: 7.938 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.418/0.6627, allocations: 154.7 kB / 0.788 GB, free: 46.63 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.0004556/0.6632, allocations: 154.7 kB / 0.7881 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.6637, allocations: 187.2 kB / 0.7883 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.664, allocations: 316.8 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.6642, allocations: 49.06 kB / 0.7887 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.6644, allocations: 140.4 kB / 0.7888 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.6645, allocations: 154 kB / 0.7889 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.6646, allocations: 14.53 kB / 0.7889 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.6647, allocations: 57.23 kB / 0.789 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.6648, allocations: 89.72 kB / 0.7891 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.6649, allocations: 117.6 kB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.6653, allocations: 377.6 kB / 0.7896 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6653, allocations: 3 kB / 0.7896 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6653, allocations: 0 / 0.7896 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.6653, allocations: 1.938 kB / 0.7896 GB, free: 46.47 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.0008037/0.6661, allocations: 0.6151 MB / 0.7902 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.6661, allocations: 9.188 kB / 0.7902 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.6662, allocations: 37.47 kB / 0.7902 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.6666, allocations: 370.3 kB / 0.7906 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.6666, allocations: 9.938 kB / 0.7906 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.6667, allocations: 8.219 kB / 0.7906 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.6669, allocations: 116.5 kB / 0.7907 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6669, allocations: 0 / 0.7907 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6669, allocations: 3.094 kB / 0.7907 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6669, allocations: 2.625 kB / 0.7907 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.6671, allocations: 63.27 kB / 0.7908 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.6677, allocations: 493.8 kB / 0.7912 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.6681, allocations: 138.1 kB / 0.7914 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.6682, allocations: 50.23 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.6682, allocations: 7.906 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.6684, allocations: 117.4 kB / 0.7915 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.6684, allocations: 1.406 kB / 0.7915 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004633/0.6689, allocations: 217.1 kB / 0.7917 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.669, allocations: 63.08 kB / 0.7918 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.6694, allocations: 0.5152 MB / 0.7923 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.6695, allocations: 29.27 kB / 0.7923 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.6695, allocations: 170 kB / 0.7925 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.6696, allocations: 35.98 kB / 0.7925 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.6697, allocations: 69.89 kB / 0.7926 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.6698, allocations: 347 kB / 0.7929 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.6699, allocations: 97.11 kB / 0.793 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.6701, allocations: 133.4 kB / 0.7931 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.6704, allocations: 180.7 kB / 0.7933 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6704, allocations: 0 / 0.7933 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004782/0.6709, allocations: 322.1 kB / 0.7936 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6709, allocations: 8.125 kB / 0.7936 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.671, allocations: 0 / 0.7936 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.671, allocations: 0 / 0.7936 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.6712, allocations: 50.77 kB / 0.7937 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.6712, allocations: 7.375 kB / 0.7937 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.6714, allocations: 24.25 kB / 0.7937 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.6714, allocations: 14.09 kB / 0.7937 GB, free: 44.51 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.0001491/0.6716, allocations: 177.4 kB / 0.7939 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.6716, allocations: 37.34 kB / 0.7939 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.6717, allocations: 33.64 kB / 0.794 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6717, allocations: 1.844 kB / 0.794 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6717, allocations: 6.625 kB / 0.794 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6717, allocations: 3 kB / 0.794 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.6719, allocations: 298.1 kB / 0.7942 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.672, allocations: 2.625 kB / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.672, allocations: 11.48 kB / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.6721, allocations: 9.719 kB / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6721, allocations: 0 / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6721, allocations: 5.906 kB / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6721, allocations: 5.125 kB / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.6724, allocations: 207.8 kB / 0.7945 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.6725, allocations: 117.7 kB / 0.7946 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.6726, allocations: 6.781 kB / 0.7946 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.6727, allocations: 10.2 kB / 0.7946 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.6728, allocations: 21.67 kB / 0.7946 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.6728, allocations: 5.672 kB / 0.7946 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002896/0.6731, allocations: 313.8 kB / 0.7949 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6731, allocations: 0 / 0.7949 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002909/0.6734, allocations: 64.72 kB / 0.795 GB, free: 43.88 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.0009439/0.6743, allocations: 420.9 kB / 0.7954 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.6747, allocations: 193.5 kB / 0.7956 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6747, allocations: 0 / 0.7956 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6749, allocations: 63.3 kB / 0.7956 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.6753, allocations: 90.06 kB / 0.7957 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.6761, allocations: 0.5265 MB / 0.7962 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.6763, allocations: 0.7828 MB / 0.797 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.6765, allocations: 56.36 kB / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.6766, allocations: 34.48 kB / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.6766, allocations: 0.9375 kB / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.009165/0.6857, allocations: 4.054 MB / 0.8011 GB, free: 42.62 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)