Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.656/1.656, allocations: 297.8 MB / 313.7 MB, free: 152 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.0009924/0.0009924, allocations: 186.5 kB / 384.6 MB, free: 10.88 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.284/1.284, allocations: 223.2 MB / 0.6626 GB, free: 4.305 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.0007746/0.0007746, allocations: 95.3 kB / 0.7808 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004421, allocations: 12 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6494/0.6499, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.805, allocations: 141 MB / 1.164 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.8052, allocations: 67.86 kB / 1.164 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002485/0.8077, allocations: 0.9546 MB / 1.165 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8077, allocations: 0 / 1.165 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8077, allocations: 2.344 kB / 1.165 GB, free: 1.625 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003153/0.8081, allocations: 361.1 kB / 1.165 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.8081, allocations: 13.41 kB / 1.165 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.8081, allocations: 0.9375 kB / 1.165 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.8082, allocations: 171.3 kB / 1.166 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.8083, allocations: 384 / 1.166 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.8083, allocations: 7.406 kB / 1.166 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.8084, allocations: 77.61 kB / 1.166 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8085, allocations: 5.344 kB / 1.166 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.8085, allocations: 3.938 kB / 1.166 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.8085, allocations: 1.406 kB / 1.166 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.8087, allocations: 60.03 kB / 1.166 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.809, allocations: 289.1 kB / 1.166 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.8092, allocations: 73.94 kB / 1.166 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.8093, allocations: 32.22 kB / 1.166 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.8093, allocations: 4 kB / 1.166 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.8093, allocations: 33.12 kB / 1.166 GB, free: 460 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.8093, allocations: 0.7188 kB / 1.166 GB, free: 460 kB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003738/0.8097, allocations: 125.4 kB / 1.166 GB, free: 352 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.8097, allocations: 52.75 kB / 1.166 GB, free: 288 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.8098, allocations: 110.7 kB / 1.166 GB, free: 172 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.8098, allocations: 29.7 kB / 1.166 GB, free: 136 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.8099, allocations: 86.14 kB / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.8099, allocations: 23.3 kB / 1.167 GB, free: 28 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8099, allocations: 1.125 kB / 1.167 GB, free: 28 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.81, allocations: 312.6 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.8101, allocations: 27.89 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.8102, allocations: 38.16 kB / 1.167 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.8104, allocations: 63.3 kB / 1.167 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8105, allocations: 4 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002531/0.8107, allocations: 91.66 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.8107, allocations: 4 kB / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.8107, allocations: 0 / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.8108, allocations: 1.297 kB / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.8109, allocations: 20.7 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8109, allocations: 1.531 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.811, allocations: 15.42 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.811, allocations: 3.094 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.869e-05/0.8111, allocations: 118.8 kB / 1.167 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.8111, allocations: 6.172 kB / 1.167 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.8111, allocations: 12.66 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.8111, allocations: 0 / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.8111, allocations: 0 / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8112, allocations: 1.5 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.8113, allocations: 173.8 kB / 1.167 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8113, allocations: 4 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.8114, allocations: 13.59 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8114, allocations: 2.094 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.8115, allocations: 5.031 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8115, allocations: 4 kB / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8115, allocations: 0 / 1.167 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.8117, allocations: 198.2 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.8118, allocations: 86.09 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.8118, allocations: 4.812 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.8119, allocations: 11.28 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.812, allocations: 12.17 kB / 1.168 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.812, allocations: 0.7031 kB / 1.168 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.812, allocations: 82.19 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8121, allocations: 4 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002089/0.8123, allocations: 16.61 kB / 1.168 GB, free: 14.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001293/0.8124, allocations: 97.03 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.8126, allocations: 67.28 kB / 1.168 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.8127, allocations: 0 / 1.168 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.8128, allocations: 43.2 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.813, allocations: 8.641 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.8134, allocations: 142.7 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.8136, allocations: 0.6829 MB / 1.169 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.8137, allocations: 4.656 kB / 1.169 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.8137, allocations: 12.75 kB / 1.169 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.8137, allocations: 4 kB / 1.169 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.002824/0.8165, allocations: 0.7385 MB / 1.17 GB, free: 13.25 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)