Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009285/0.009285, allocations: 105.5 kB / 15.74 MB, free: 6.027 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.001941/0.001941, allocations: 189.7 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.711/1.711, allocations: 251.7 MB / 0.5094 GB, free: 3.02 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3019, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00346/0.3054, allocations: 1.409 MB / 0.8294 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004472/0.3059, allocations: 164.3 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.3059, allocations: 0 / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.306, allocations: 3.938 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.3061, allocations: 3.938 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3063, allocations: 27.97 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3064, allocations: 47.84 kB / 0.8297 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3065, allocations: 15.98 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.3066, allocations: 11.98 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.3067, allocations: 31.84 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3067, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.3068, allocations: 4 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.3068, allocations: 15.98 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.3068, allocations: 19.88 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.307, allocations: 51.78 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.307, allocations: 0 / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.307, allocations: 3.938 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.307, allocations: 0 / 0.8298 GB, free: 14.4 MB / 0.6544 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.0005506/0.3075, allocations: 355.4 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3076, allocations: 8.031 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3076, allocations: 8.844 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.3078, allocations: 176.3 kB / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3078, allocations: 384 / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3079, allocations: 4.375 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3081, allocations: 62.22 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3081, allocations: 192 / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3081, allocations: 7.938 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3081, allocations: 4 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3083, allocations: 51.83 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.3088, allocations: 300.7 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.309, allocations: 58.55 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3092, allocations: 32.91 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3092, allocations: 3.938 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3092, allocations: 34.56 kB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3092, allocations: 0 / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004238/0.3097, allocations: 105.6 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3097, allocations: 51.41 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3099, allocations: 109.8 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3099, allocations: 25.7 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.31, allocations: 96.03 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.31, allocations: 15.84 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.31, allocations: 13.72 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3102, allocations: 318.8 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.3103, allocations: 23.92 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.3104, allocations: 23.97 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.3106, allocations: 65.02 kB / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3106, allocations: 0 / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002288/0.3108, allocations: 81.66 kB / 0.8318 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3108, allocations: 4 kB / 0.8318 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.3109, allocations: 3.984 kB / 0.8318 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3109, allocations: 0 / 0.8318 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.311, allocations: 11.98 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.311, allocations: 4 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.3111, allocations: 11.94 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3112, allocations: 7.984 kB / 0.8318 GB, free: 12.14 MB / 0.6544 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,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.954e-05/0.3113, allocations: 113.8 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.3113, allocations: 7.906 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.3113, allocations: 3.906 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3113, allocations: 3.938 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3114, allocations: 0 / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3114, allocations: 4 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3116, allocations: 185.5 kB / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3116, allocations: 0 / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.3117, allocations: 11.98 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3117, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3117, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3117, allocations: 4 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3117, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.312, allocations: 191.3 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.3121, allocations: 77.11 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3121, allocations: 3.984 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.3122, allocations: 8 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.3123, allocations: 7.984 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.3123, allocations: 4 kB / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.3123, allocations: 87.27 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3123, allocations: 0 / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002168/0.3126, allocations: 8 kB / 0.8325 GB, free: 11.33 MB / 0.6544 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.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.0001627/0.3127, allocations: 103.2 kB / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.313, allocations: 55.94 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.313, allocations: 0 / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3132, allocations: 35.91 kB / 0.8327 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3135, allocations: 7.938 kB / 0.8327 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.314, allocations: 129.6 kB / 0.8328 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3143, allocations: 0.6921 MB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.58e-05/0.3144, allocations: 4 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3144, allocations: 15.44 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.3144, allocations: 4 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.003791/0.3182, allocations: 0.8966 MB / 0.8344 GB, free: 9.336 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)