Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.596/1.596, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 184.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 0.6626 GB, free: 4.234 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007353/0.0007352, allocations: 99.98 kB / 0.7808 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 14 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6609, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.8492, allocations: 145.4 MB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.8495, allocations: 79.09 kB / 1.168 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03109/0.8807, allocations: 11.17 MB / 1.179 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8807, allocations: 0 / 1.179 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.8807, allocations: 8.594 kB / 1.179 GB, free: 5.402 MB / 0.7448 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.001056/0.8818, allocations: 0.6074 MB / 1.18 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.8819, allocations: 13.11 kB / 1.18 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.882, allocations: 36.47 kB / 1.18 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.8827, allocations: 408.4 kB / 1.18 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.8828, allocations: 10.09 kB / 1.18 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.8828, allocations: 12.38 kB / 1.18 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.883, allocations: 107.3 kB / 1.18 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.883, allocations: 3.938 kB / 1.18 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.8831, allocations: 4 kB / 1.18 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.8831, allocations: 2.75 kB / 1.18 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.8832, allocations: 71.86 kB / 1.18 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.8841, allocations: 0.5165 MB / 1.181 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.8845, allocations: 144.7 kB / 1.181 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.8846, allocations: 48.83 kB / 1.181 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.8846, allocations: 7.938 kB / 1.181 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.8849, allocations: 112.5 kB / 1.181 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.8849, allocations: 0 / 1.181 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005455/0.8854, allocations: 226.5 kB / 1.181 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.8855, allocations: 55.41 kB / 1.182 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.8862, allocations: 0.517 MB / 1.182 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.8862, allocations: 32.14 kB / 1.182 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.8863, allocations: 168.4 kB / 1.182 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.8864, allocations: 43.53 kB / 1.182 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.8864, allocations: 4 kB / 1.182 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8866, allocations: 354.7 kB / 1.183 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.8868, allocations: 120.5 kB / 1.183 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.887, allocations: 151.6 kB / 1.183 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.8874, allocations: 206.9 kB / 1.183 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8874, allocations: 0 / 1.183 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005953/0.888, allocations: 366.1 kB / 1.183 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8881, allocations: 8 kB / 1.183 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8881, allocations: 0 / 1.183 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8881, allocations: 0 / 1.183 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.8883, allocations: 51.97 kB / 1.183 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.8883, allocations: 13.41 kB / 1.184 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.8885, allocations: 17.97 kB / 1.184 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.8885, allocations: 19.92 kB / 1.184 GB, free: 0.7812 MB / 0.7448 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.u1,intLes.u2,intLes.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.0001817/0.8887, allocations: 179.9 kB / 1.184 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.8888, allocations: 31.62 kB / 1.184 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.8892, allocations: 204.7 kB / 1.184 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8892, allocations: 4 kB / 1.184 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8892, allocations: 0 / 1.184 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8892, allocations: 3.984 kB / 1.184 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.8895, allocations: 313.3 kB / 1.184 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8895, allocations: 0 / 1.184 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.8896, allocations: 15.98 kB / 1.184 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.8897, allocations: 5.406 kB / 1.184 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.8897, allocations: 0 / 1.184 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8897, allocations: 6.312 kB / 1.184 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8897, allocations: 3.984 kB / 1.184 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.8901, allocations: 226.7 kB / 1.184 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.8902, allocations: 125.3 kB / 1.185 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.8902, allocations: 8 kB / 1.185 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.8903, allocations: 7.984 kB / 1.185 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.8904, allocations: 19.98 kB / 1.185 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.8904, allocations: 11.92 kB / 1.185 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003551/0.8908, allocations: 327.1 kB / 1.185 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8908, allocations: 0 / 1.185 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003363/0.8911, allocations: 75.92 kB / 1.185 GB, free: 15.16 MB / 0.7605 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.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0009865/0.8921, allocations: 437 kB / 1.185 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.8925, allocations: 203.8 kB / 1.186 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8926, allocations: 1.312 kB / 1.186 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.8927, allocations: 72.03 kB / 1.186 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.8932, allocations: 83.33 kB / 1.186 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.8942, allocations: 0.603 MB / 1.186 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.8946, allocations: 0.7872 MB / 1.187 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.8947, allocations: 50.3 kB / 1.187 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.8948, allocations: 35.42 kB / 1.187 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.8948, allocations: 0.75 kB / 1.187 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of Templates: time 0.008324/0.9032, allocations: 3.986 MB / 1.191 GB, free: 9.258 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)