Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008984/0.0008987, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009747/0.0009749, allocations: 177.3 kB / 15.94 MB, free: 228 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.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005496/0.0005496, allocations: 16.78 kB / 0.6736 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2947, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001095/0.2959, allocations: 481.3 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.297, allocations: 0.8567 MB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.2971, allocations: 4 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.2971, allocations: 3.938 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.2972, allocations: 3.984 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2974, allocations: 39.91 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.2975, allocations: 43.88 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2976, allocations: 19.98 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.2977, allocations: 35.89 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.2978, allocations: 39.83 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2978, allocations: 11.94 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.2979, allocations: 4 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.2979, allocations: 15.91 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.2979, allocations: 33.7 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.115e-05/0.298, allocations: 51.88 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.298, allocations: 0 / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.298, allocations: 0 / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.298, allocations: 0 / 0.7887 GB, free: 10.32 MB / 0.6075 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.000586/0.2986, allocations: 399.3 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2987, allocations: 12.03 kB / 0.7891 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.2987, allocations: 11.91 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.2989, allocations: 178.9 kB / 0.7893 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2989, allocations: 4 kB / 0.7893 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2989, allocations: 4 kB / 0.7893 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.2992, allocations: 117.6 kB / 0.7894 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2992, allocations: 4 kB / 0.7894 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2993, allocations: 0 / 0.7894 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2993, allocations: 3.938 kB / 0.7894 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.2997, allocations: 127.8 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.3002, allocations: 336.7 kB / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.3007, allocations: 138.5 kB / 0.79 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3008, allocations: 4.141 kB / 0.79 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3008, allocations: 30.56 kB / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3008, allocations: 0 / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000659/0.3015, allocations: 217.5 kB / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3015, allocations: 55.34 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.3016, allocations: 122.1 kB / 0.7904 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3016, allocations: 29.7 kB / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.3017, allocations: 92.12 kB / 0.7905 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3017, allocations: 23.66 kB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.3017, allocations: 0 / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3018, allocations: 318.8 kB / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.302, allocations: 59.95 kB / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3022, allocations: 55.95 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3024, allocations: 55.95 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3024, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004004/0.3028, allocations: 162 kB / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3028, allocations: 8 kB / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3029, allocations: 0 / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3029, allocations: 4 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.303, allocations: 35.86 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3031, allocations: 80 / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3032, allocations: 27.91 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3032, allocations: 7.984 kB / 0.7912 GB, free: 7.516 MB / 0.6075 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 9.85e-05/0.3033, allocations: 121.8 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3033, allocations: 7.906 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.3038, allocations: 173.9 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3039, allocations: 0 / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3039, allocations: 3.953 kB / 0.7915 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3039, allocations: 0 / 0.7915 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.3041, allocations: 205.5 kB / 0.7917 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3041, allocations: 3.938 kB / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.3043, allocations: 31.97 kB / 0.7918 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3043, allocations: 0 / 0.7918 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3043, allocations: 0 / 0.7918 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3043, allocations: 4 kB / 0.7918 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3043, allocations: 0 / 0.7918 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.3048, allocations: 259.3 kB / 0.792 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.3048, allocations: 77.11 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3048, allocations: 4 kB / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.305, allocations: 19.97 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.3051, allocations: 23.97 kB / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3051, allocations: 4 kB / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.595e-05/0.3052, allocations: 99.25 kB / 0.7922 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4e-07/0.3052, allocations: 0 / 0.7922 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002438/0.3054, allocations: 23.86 kB / 0.7923 GB, free: 6.375 MB / 0.6075 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.0001735/0.3056, allocations: 99.25 kB / 0.7924 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.3061, allocations: 127.9 kB / 0.7925 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3061, allocations: 4 kB / 0.7925 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3063, allocations: 67.89 kB / 0.7925 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3066, allocations: 18.94 kB / 0.7926 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.3071, allocations: 189.2 kB / 0.7927 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3075, allocations: 0.6965 MB / 0.7934 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.118e-05/0.3076, allocations: 8.188 kB / 0.7934 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.3077, allocations: 23.42 kB / 0.7935 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3077, allocations: 4 kB / 0.7935 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of Templates: time 0.004039/0.3117, allocations: 1.29 MB / 0.7947 GB, free: 3.797 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) Environment - environmentSimulation: