Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.0009513/0.0009512, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008623/0.008623, allocations: 169.2 kB / 16.26 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.176/3.176, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004804, allocations: 9.75 kB / 0.9158 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4548, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003726/0.4587, allocations: 1.704 MB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.461, allocations: 1.166 MB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.4611, allocations: 0 / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.4617, allocations: 155.6 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.462, allocations: 131.5 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.4626, allocations: 207.1 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.4631, allocations: 287.2 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.4633, allocations: 48.36 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.4635, allocations: 127.3 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.4638, allocations: 139.4 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.4638, allocations: 4 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.464, allocations: 51.91 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.4641, allocations: 75.73 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.4643, allocations: 148.8 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.4648, allocations: 343 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.4648, allocations: 7.938 kB / 1.079 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4648, allocations: 0 / 1.079 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.4648, allocations: 0 / 1.079 GB, free: 2.949 MB / 0.8262 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.001214/0.466, allocations: 0.5682 MB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4661, allocations: 8.031 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.4662, allocations: 40.41 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.4668, allocations: 386.1 kB / 1.08 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.4669, allocations: 8 kB / 1.08 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.4669, allocations: 8 kB / 1.08 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.4672, allocations: 109.5 kB / 1.08 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4672, allocations: 0 / 1.08 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.4672, allocations: 4 kB / 1.08 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4673, allocations: 4 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.4674, allocations: 55.95 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009915/0.4685, allocations: 0.4926 MB / 1.08 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.4688, allocations: 142.7 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.469, allocations: 44.83 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.469, allocations: 11.97 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.4693, allocations: 107.3 kB / 1.081 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.4693, allocations: 0 / 1.081 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0006182/0.47, allocations: 229.2 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.47, allocations: 59.41 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.4707, allocations: 0.5016 MB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.4707, allocations: 29.7 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.4709, allocations: 168.3 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.4709, allocations: 35.55 kB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.471, allocations: 41.69 kB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4712, allocations: 342.8 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.4714, allocations: 104.5 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.4716, allocations: 135.6 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.472, allocations: 184 kB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.472, allocations: 0 / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005311/0.4726, allocations: 317.2 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4726, allocations: 9.406 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4726, allocations: 7.922 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4726, allocations: 0 / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.4729, allocations: 51.92 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4729, allocations: 3.984 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4731, allocations: 19.84 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.4731, allocations: 15.98 kB / 1.083 GB, free: 14.52 MB / 0.8419 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.0002074/0.4733, allocations: 185.7 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.4734, allocations: 31.62 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-05/0.4735, allocations: 39.05 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.4735, allocations: 4 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4735, allocations: 0 / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4735, allocations: 3.938 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.4739, allocations: 305.3 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4739, allocations: 4 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.4739, allocations: 11.98 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4739, allocations: 0 / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.474, allocations: 11.94 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.474, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.474, allocations: 4 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.4744, allocations: 212.6 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4745, allocations: 112.7 kB / 1.084 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.4745, allocations: 11.94 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4747, allocations: 7.984 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.4747, allocations: 19.98 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.4748, allocations: 15.98 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004022/0.4752, allocations: 311.1 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4752, allocations: 0 / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003299/0.4755, allocations: 59.89 kB / 1.084 GB, free: 13.1 MB / 0.8419 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.001275/0.4768, allocations: 414.3 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.4773, allocations: 195.8 kB / 1.085 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4773, allocations: 0 / 1.085 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.4775, allocations: 63.97 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.4781, allocations: 83.84 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4792, allocations: 0.605 MB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.4797, allocations: 0.7872 MB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.4799, allocations: 50.94 kB / 1.086 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.4799, allocations: 31.42 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.48, allocations: 4 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.009234/0.4892, allocations: 3.823 MB / 1.09 GB, free: 7.195 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)