Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.102/5.102, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002373/0.002373, allocations: 359.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.178/4.178, allocations: 410.7 MB / 1.112 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00181/0.00181, allocations: 178.9 kB / 1.225 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005017, allocations: 16 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6465/0.647, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003385/0.6505, allocations: 1.647 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.6535, allocations: 1.015 MB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.6537, allocations: 7.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.6543, allocations: 140.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.6549, allocations: 124.4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.6558, allocations: 158.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.6563, allocations: 259.2 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.6566, allocations: 45.52 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.6569, allocations: 120.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.6572, allocations: 115.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.6572, allocations: 8.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.6575, allocations: 43.91 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.6577, allocations: 85.19 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.6578, allocations: 65.52 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.6583, allocations: 281.4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.58e-06/0.6584, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.8e-06/0.6584, allocations: 0.75 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.6584, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 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.001438/0.6599, allocations: 0.5896 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6599, allocations: 11.62 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.6601, allocations: 39.52 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.661, allocations: 352.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.992e-05/0.6611, allocations: 7.984 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.6612, allocations: 12.72 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.6617, allocations: 102.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.6617, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.6618, allocations: 12.95 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.6618, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.6622, allocations: 59.95 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.6637, allocations: 0.4894 MB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.6644, allocations: 134.8 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.6647, allocations: 47.17 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.6648, allocations: 4 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.6653, allocations: 117 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 4.245e-06/0.6653, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001115/0.6665, allocations: 217.9 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6665, allocations: 61.36 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.6678, allocations: 0.5092 MB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.6678, allocations: 25.7 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.668, allocations: 164.4 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.6681, allocations: 39.55 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.6682, allocations: 4.5 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6683, allocations: 355.2 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.6688, allocations: 97.11 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.6693, allocations: 129.1 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.6698, allocations: 105.2 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.374e-06/0.6699, allocations: 3.953 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001248/0.6711, allocations: 326.6 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.6712, allocations: 4 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6712, allocations: 8.609 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.6712, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.6718, allocations: 49.7 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.6718, allocations: 3.984 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.6722, allocations: 15.94 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.6723, allocations: 15.98 kB / 1.469 GB, free: 276 MB / 0.8542 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003338/0.6727, allocations: 183.4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6728, allocations: 36.75 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.6729, allocations: 35.78 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.673, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-06/0.673, allocations: 0.8438 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.673, allocations: 4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.6735, allocations: 298.5 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.461e-06/0.6736, allocations: 0 / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.6737, allocations: 23.94 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.6738, allocations: 1 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.6738, allocations: 3.938 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.6738, allocations: 5 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.854e-06/0.6739, allocations: 0 / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000788/0.6747, allocations: 214.4 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.6749, allocations: 112.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.675, allocations: 7.953 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.6753, allocations: 13.67 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.6754, allocations: 17.2 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.6755, allocations: 7.984 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007616/0.6762, allocations: 311.7 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.122e-06/0.6763, allocations: 4.625 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008061/0.6771, allocations: 59.94 kB / 1.47 GB, free: 274.6 MB / 0.8542 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 (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.002435/0.6795, allocations: 426.2 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009171/0.6805, allocations: 186.4 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.667e-06/0.6805, allocations: 0.8125 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.6809, allocations: 66.34 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.682, allocations: 84.92 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.6838, allocations: 0.5711 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.6843, allocations: 0.7995 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00042/0.6847, allocations: 58.31 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.685, allocations: 31.42 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.757e-06/0.685, allocations: 1.812 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01776/0.7028, allocations: 3.738 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB