Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009613, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00854/0.00854, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.615/1.615, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005843/0.0005843, allocations: 11.56 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4861, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00121/0.4873, allocations: 441.7 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.4889, allocations: 0.8352 MB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.489, allocations: 0 / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.489, allocations: 3.938 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.4891, allocations: 3.984 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.4893, allocations: 23.98 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.4895, allocations: 43.84 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.4896, allocations: 12 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.4897, allocations: 19.91 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.4898, allocations: 19.92 kB / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.4899, allocations: 3.938 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.4899, allocations: 4 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.4899, allocations: 7.984 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.49, allocations: 49.56 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.4901, allocations: 43.84 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4901, allocations: 0 / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.176e-06/0.4901, allocations: 0 / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.4901, allocations: 0 / 1.076 GB, free: 6.016 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006582/0.4908, allocations: 347.7 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.4909, allocations: 12.03 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.4909, allocations: 4.938 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.4911, allocations: 176.2 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.4912, allocations: 384 / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4912, allocations: 8.359 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.4915, allocations: 77.78 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4915, allocations: 0 / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4915, allocations: 0 / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4915, allocations: 3.938 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.4918, allocations: 59.95 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.4924, allocations: 300.6 kB / 1.077 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.4927, allocations: 66.55 kB / 1.077 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.4928, allocations: 40.84 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4928, allocations: 0 / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.4929, allocations: 42.5 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.4929, allocations: 0 / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005172/0.4934, allocations: 121.6 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4935, allocations: 51.41 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4936, allocations: 113.8 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4936, allocations: 29.7 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.4937, allocations: 84.12 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.4937, allocations: 15.81 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.4938, allocations: 9.719 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4939, allocations: 322.7 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.494, allocations: 35.97 kB / 1.077 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4942, allocations: 23.98 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.4945, allocations: 64.81 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4945, allocations: 0 / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003728/0.4949, allocations: 93.64 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.4949, allocations: 4 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.495, allocations: 8 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.495, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4952, allocations: 15.92 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4952, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-05/0.4953, allocations: 11.98 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.4953, allocations: 0 / 1.078 GB, free: 3.691 MB / 0.8262 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 (reaToInt.y,intLesEquThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.4955, allocations: 117.8 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.4955, allocations: 11.91 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.4956, allocations: 8.219 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4956, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.4956, allocations: 4 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4956, allocations: 3.984 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4958, allocations: 185.5 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4958, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.4959, allocations: 15.92 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.496, allocations: 4 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.496, allocations: 4 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.496, allocations: 3.938 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.496, allocations: 0 / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.4963, allocations: 195.4 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.4964, allocations: 85.02 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4964, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4966, allocations: 11.98 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.4966, allocations: 11.98 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.4966, allocations: 0 / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.4967, allocations: 91.34 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4967, allocations: 0 / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002308/0.497, allocations: 4 kB / 1.078 GB, free: 2.848 MB / 0.8262 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 (intLesEquThr.y,reaToInt.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 (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.0001792/0.4971, allocations: 107.2 kB / 1.078 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.4974, allocations: 63.95 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4975, allocations: 0 / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.4976, allocations: 43.91 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4979, allocations: 3.984 kB / 1.079 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.4984, allocations: 144.7 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4988, allocations: 0.6887 MB / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.205e-05/0.4989, allocations: 0 / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.4989, allocations: 15.42 kB / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4989, allocations: 0 / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of Templates: time 0.003794/0.5027, allocations: 0.7506 MB / 1.08 GB, free: 0.9805 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)