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.001664/0.001664, allocations: 117.5 kB / 16.38 MB, free: 6.012 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.001788/0.001788, allocations: 189 kB / 17.3 MB, free: 5.613 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.447/1.447, 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.809/1.809, 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.001426/0.001427, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2541, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003739/0.2579, allocations: 1.997 MB / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.2599, allocations: 1.117 MB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.26, allocations: 3.938 kB / 0.7878 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.5005/0.7606, allocations: 150.2 kB / 0.788 GB, free: 46.55 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.0005641/0.7612, allocations: 158.3 kB / 0.7881 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.7619, allocations: 190 kB / 0.7883 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.7622, allocations: 314.3 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.7625, allocations: 41.75 kB / 0.7887 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.7627, allocations: 144 kB / 0.7888 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.7629, allocations: 149.1 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.7629, allocations: 13.12 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.7631, allocations: 57.55 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.7632, allocations: 89.97 kB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.7634, allocations: 128.8 kB / 0.7892 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.7638, allocations: 368.2 kB / 0.7896 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7638, allocations: 0 / 0.7896 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7639, allocations: 4.438 kB / 0.7896 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7639, allocations: 0 / 0.7896 GB, free: 46.4 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.0009923/0.7649, allocations: 0.6178 MB / 0.7902 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7649, allocations: 12.38 kB / 0.7902 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.765, allocations: 36.06 kB / 0.7902 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.7654, allocations: 376.2 kB / 0.7906 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.7655, allocations: 7.812 kB / 0.7906 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.7655, allocations: 7.812 kB / 0.7906 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.7657, allocations: 111 kB / 0.7907 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7658, allocations: 0 / 0.7907 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.7658, allocations: 7.859 kB / 0.7907 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7658, allocations: 2.625 kB / 0.7907 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.766, allocations: 62.25 kB / 0.7908 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.7667, allocations: 0.4888 MB / 0.7912 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.7671, allocations: 136.1 kB / 0.7914 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.7672, allocations: 55.19 kB / 0.7914 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.7672, allocations: 0.5312 kB / 0.7914 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.7675, allocations: 117.8 kB / 0.7915 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.7675, allocations: 0 / 0.7915 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005297/0.768, allocations: 221.5 kB / 0.7918 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7681, allocations: 59.28 kB / 0.7918 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.7686, allocations: 0.5141 MB / 0.7923 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.7686, allocations: 25.7 kB / 0.7923 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.7687, allocations: 164.4 kB / 0.7925 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.7688, allocations: 40.33 kB / 0.7925 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.7689, allocations: 67.02 kB / 0.7926 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.769, allocations: 347.5 kB / 0.7929 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.7691, allocations: 100.6 kB / 0.793 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.7693, allocations: 131 kB / 0.7931 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.7696, allocations: 181.1 kB / 0.7933 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7697, allocations: 0 / 0.7933 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004725/0.7701, allocations: 322.1 kB / 0.7936 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7702, allocations: 9.125 kB / 0.7936 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7702, allocations: 0 / 0.7936 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.7702, allocations: 3.5 kB / 0.7936 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.7704, allocations: 54.47 kB / 0.7937 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.7705, allocations: 3.938 kB / 0.7937 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.7706, allocations: 24.91 kB / 0.7937 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.7706, allocations: 14.64 kB / 0.7937 GB, free: 44.44 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.0001457/0.7708, allocations: 179.1 kB / 0.7939 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.7708, allocations: 36.03 kB / 0.7939 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.7709, allocations: 36.52 kB / 0.794 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7709, allocations: 0 / 0.794 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7709, allocations: 7 kB / 0.794 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7709, allocations: 1.219 kB / 0.794 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.7712, allocations: 295.5 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7712, allocations: 0 / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.7712, allocations: 17.61 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.7713, allocations: 0 / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.7713, allocations: 7.922 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7713, allocations: 1 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7713, allocations: 5.062 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.7716, allocations: 210.5 kB / 0.7945 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.7717, allocations: 113.7 kB / 0.7946 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.7717, allocations: 7.312 kB / 0.7946 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.7719, allocations: 6.766 kB / 0.7946 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.7719, allocations: 28.19 kB / 0.7946 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.7719, allocations: 3.438 kB / 0.7946 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002834/0.7722, allocations: 320.5 kB / 0.795 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7722, allocations: 0 / 0.795 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002978/0.7725, allocations: 53.06 kB / 0.795 GB, free: 43.82 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.001221/0.7738, allocations: 425.7 kB / 0.7954 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.7743, allocations: 196.2 kB / 0.7956 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7743, allocations: 0 / 0.7956 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.7745, allocations: 63.77 kB / 0.7957 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.7749, allocations: 91 kB / 0.7957 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.7758, allocations: 0.5542 MB / 0.7963 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.776, allocations: 0.7923 MB / 0.7971 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.7761, allocations: 31.38 kB / 0.7971 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.7761, allocations: 0 / 0.7971 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.008891/0.785, allocations: 4.395 MB / 0.8014 GB, free: 42.4 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)