Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.662/1.662, allocations: 287.4 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 174 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 82.39 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004579, allocations: 10.94 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2842, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001146/0.2854, allocations: 489.5 kB / 0.9798 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2869, allocations: 0.8516 MB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.287, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.2871, allocations: 3.938 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.2873, allocations: 11.92 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.2876, allocations: 31.97 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2878, allocations: 67.83 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.288, allocations: 31.97 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.2882, allocations: 31.86 kB / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.2883, allocations: 39.88 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.2884, allocations: 4 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.585e-05/0.2884, allocations: 7.938 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.2885, allocations: 7.984 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.2885, allocations: 37.64 kB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.2887, allocations: 63.84 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2887, allocations: 0 / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2887, allocations: 0 / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.2887, allocations: 0 / 0.9809 GB, free: 26.51 MB / 0.6198 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.0008137/0.2895, allocations: 387.5 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.2896, allocations: 8.031 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.2897, allocations: 8.844 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.2899, allocations: 184.2 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.2899, allocations: 384 / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.29, allocations: 4.375 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.2903, allocations: 122.1 kB / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2904, allocations: 192 / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.2904, allocations: 7.938 kB / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2904, allocations: 3.938 kB / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.2908, allocations: 115.9 kB / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.2913, allocations: 352.6 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.2919, allocations: 130.6 kB / 0.9822 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2921, allocations: 60.81 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.2922, allocations: 4 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.2922, allocations: 34.56 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.2922, allocations: 0 / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006596/0.2929, allocations: 217.6 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2929, allocations: 59.34 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.293, allocations: 121.8 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2931, allocations: 25.7 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.2932, allocations: 95.98 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2932, allocations: 27.78 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.2932, allocations: 0 / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2933, allocations: 318.8 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.2935, allocations: 55.95 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.2937, allocations: 60.02 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.294, allocations: 120.8 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.294, allocations: 3.938 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003765/0.2944, allocations: 157.5 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.2945, allocations: 10.48 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2945, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.2945, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2947, allocations: 35.97 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2947, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.2948, allocations: 15.98 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2948, allocations: 0 / 0.9835 GB, free: 23.6 MB / 0.6198 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.004e-05/0.2949, allocations: 125.8 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.295, allocations: 19.83 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.2954, allocations: 181.8 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2954, allocations: 0 / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2955, allocations: 0 / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.2955, allocations: 85.02 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.2955, allocations: 0 / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2957, allocations: 23.91 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.2958, allocations: 27.97 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004962/0.2963, allocations: 252.8 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004438/0.2967, allocations: 342.6 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001923/0.2969, allocations: 67.95 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.297, allocations: 91.7 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of Backend: time 4.21e-07/0.297, allocations: 0 / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.2976, allocations: 151.1 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006102/0.2982, allocations: 0.6151 MB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.004175/0.3024, allocations: 1.446 MB / 0.9869 GB, free: 20.1 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)