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.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0014/0.0014, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.618/1.618, allocations: 252 MB / 0.5102 GB, free: 4.73 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.0005066/0.0005066, allocations: 12 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.5883, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001988/0.5904, allocations: 1.179 MB / 0.7293 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004742/0.5909, allocations: 188.3 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.5909, allocations: 0 / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.591, allocations: 3.938 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.5911, allocations: 7.922 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.5912, allocations: 27.97 kB / 0.7295 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.5914, allocations: 71.83 kB / 0.7296 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.5915, allocations: 27.91 kB / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.5916, allocations: 31.84 kB / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5917, allocations: 39.83 kB / 0.7297 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.5917, allocations: 4 kB / 0.7297 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.5917, allocations: 4 kB / 0.7297 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.5918, allocations: 11.98 kB / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.5918, allocations: 37.64 kB / 0.7297 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.592, allocations: 59.84 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.537e-06/0.592, allocations: 0 / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.647e-06/0.592, allocations: 4 kB / 0.7298 GB, free: 9.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.592, allocations: 0 / 0.7298 GB, free: 9.699 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000723/0.5927, allocations: 393 kB / 0.7302 GB, free: 9.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5928, allocations: 12.02 kB / 0.7302 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.5928, allocations: 7.906 kB / 0.7302 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.593, allocations: 175 kB / 0.7303 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5931, allocations: 11.94 kB / 0.7304 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.5931, allocations: 4 kB / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.5934, allocations: 113.6 kB / 0.7305 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5934, allocations: 0 / 0.7305 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.5935, allocations: 4 kB / 0.7305 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5935, allocations: 7.938 kB / 0.7305 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.5939, allocations: 123.9 kB / 0.7306 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.5945, allocations: 348.5 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.5951, allocations: 126.6 kB / 0.7311 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.5953, allocations: 68.81 kB / 0.7311 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.5954, allocations: 4 kB / 0.7311 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.5954, allocations: 30.56 kB / 0.7312 GB, free: 8.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5954, allocations: 0 / 0.7312 GB, free: 8.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006753/0.5961, allocations: 221.4 kB / 0.7314 GB, free: 7.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.5961, allocations: 55.39 kB / 0.7314 GB, free: 7.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.5962, allocations: 118.2 kB / 0.7315 GB, free: 7.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.5963, allocations: 25.7 kB / 0.7316 GB, free: 7.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.5963, allocations: 100 kB / 0.7316 GB, free: 7.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.5964, allocations: 23.73 kB / 0.7317 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.5964, allocations: 0 / 0.7317 GB, free: 7.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5966, allocations: 318.8 kB / 0.732 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.5967, allocations: 55.95 kB / 0.732 GB, free: 7.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.5969, allocations: 59.95 kB / 0.7321 GB, free: 7.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.5971, allocations: 47.97 kB / 0.7321 GB, free: 7.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5971, allocations: 4 kB / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004086/0.5975, allocations: 165.4 kB / 0.7323 GB, free: 6.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5976, allocations: 4 kB / 0.7323 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5976, allocations: 7.953 kB / 0.7323 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5976, allocations: 4 kB / 0.7323 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.5978, allocations: 27.97 kB / 0.7323 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.5978, allocations: 0 / 0.7323 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.5979, allocations: 19.97 kB / 0.7324 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5979, allocations: 8 kB / 0.7324 GB, free: 6.844 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001224/0.598, allocations: 109.8 kB / 0.7325 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.5981, allocations: 15.84 kB / 0.7325 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.5986, allocations: 177.9 kB / 0.7326 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5986, allocations: 7.953 kB / 0.7327 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5986, allocations: 0 / 0.7327 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5986, allocations: 3.938 kB / 0.7327 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.5988, allocations: 189.6 kB / 0.7328 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5989, allocations: 7.984 kB / 0.7328 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.599, allocations: 31.97 kB / 0.7329 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.599, allocations: 0 / 0.7329 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.599, allocations: 0 / 0.7329 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.599, allocations: 0 / 0.7329 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5991, allocations: 3.953 kB / 0.7329 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.5995, allocations: 263.9 kB / 0.7331 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.5996, allocations: 89.02 kB / 0.7332 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.5996, allocations: 0 / 0.7332 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5998, allocations: 19.97 kB / 0.7332 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.5999, allocations: 27.92 kB / 0.7333 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.5999, allocations: 7.984 kB / 0.7333 GB, free: 5.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.754e-05/0.6, allocations: 99.31 kB / 0.7334 GB, free: 5.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6, allocations: 0 / 0.7334 GB, free: 5.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002299/0.6002, allocations: 23.94 kB / 0.7334 GB, free: 5.688 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001875/0.6004, allocations: 95.25 kB / 0.7335 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.6008, allocations: 127.9 kB / 0.7336 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6008, allocations: 0 / 0.7336 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.6011, allocations: 75.94 kB / 0.7337 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.6014, allocations: 8 kB / 0.7337 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.6019, allocations: 197.2 kB / 0.7339 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.6023, allocations: 0.6965 MB / 0.7346 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.808e-05/0.6024, allocations: 15.94 kB / 0.7346 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.6024, allocations: 15.42 kB / 0.7346 GB, free: 4.395 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6025, allocations: 0 / 0.7346 GB, free: 4.395 MB / 0.545 GB Notification: Performance of Templates: time 0.004436/0.6069, allocations: 1.299 MB / 0.7359 GB, free: 3.105 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) Environment - environmentSimulation: