Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.381/2.381, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001487, allocations: 183.7 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.901/2.901, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 101.8 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006304/0.0006305, allocations: 13.59 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2892, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001756/0.291, allocations: 1.174 MB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004523/0.2915, allocations: 178.3 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.2915, allocations: 0 / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.2916, allocations: 4 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.2917, allocations: 15.91 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.2919, allocations: 27.97 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.292, allocations: 51.72 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2921, allocations: 27.92 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.2922, allocations: 27.91 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.2923, allocations: 43.83 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.2924, allocations: 7.938 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.2924, allocations: 0 / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.2924, allocations: 15.97 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.2924, allocations: 37.64 kB / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.2926, allocations: 59.84 kB / 0.9005 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2926, allocations: 0 / 0.9005 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2926, allocations: 4 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2926, allocations: 0 / 0.9005 GB, free: 63.8 MB / 0.6042 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.0007288/0.2933, allocations: 383.4 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2934, allocations: 12.03 kB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.2934, allocations: 7.859 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2936, allocations: 182.9 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2936, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2937, allocations: 11.98 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.2942, allocations: 113.6 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2942, allocations: 0 / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2942, allocations: 8 kB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2942, allocations: 0 / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.2949, allocations: 123.9 kB / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.2956, allocations: 336.6 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.2967, allocations: 138.6 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.2967, allocations: 0 / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2967, allocations: 42.45 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.2968, allocations: 4 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001166/0.2979, allocations: 213.5 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.298, allocations: 51.41 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2981, allocations: 129.7 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.2982, allocations: 29.7 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.2982, allocations: 96.05 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2983, allocations: 23.73 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.2983, allocations: 0 / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.2984, allocations: 314.8 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.2987, allocations: 55.95 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.299, allocations: 60.05 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.2994, allocations: 63.94 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2994, allocations: 0 / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007466/0.3001, allocations: 157.5 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3002, allocations: 7.953 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3002, allocations: 0 / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3002, allocations: 4 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3006, allocations: 27.97 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3006, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3008, allocations: 23.92 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3009, allocations: 8 kB / 0.903 GB, free: 61.02 MB / 0.6042 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.0001116/0.301, allocations: 121.8 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.301, allocations: 3.906 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.3019, allocations: 174.5 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3019, allocations: 4 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3019, allocations: 0 / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3019, allocations: 0 / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.3022, allocations: 201.6 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3022, allocations: 4 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.3025, allocations: 27.97 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3025, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3026, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.3026, allocations: 7.891 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3026, allocations: 11.98 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.3034, allocations: 255.4 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.3034, allocations: 89 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3034, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3037, allocations: 15.98 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3038, allocations: 27.92 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3039, allocations: 4 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.3039, allocations: 95.27 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3039, allocations: 0 / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003311/0.3043, allocations: 19.94 kB / 0.904 GB, free: 59.88 MB / 0.6042 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.0001313/0.3044, allocations: 95.25 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007463/0.3052, allocations: 135.8 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3052, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.3056, allocations: 67.95 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3059, allocations: 11.98 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.3065, allocations: 191.4 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.3066, allocations: 0.6965 MB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.3068, allocations: 12.19 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.3069, allocations: 15.42 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.3069, allocations: 0 / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.004701/0.3116, allocations: 1.3 MB / 0.9065 GB, free: 57.3 MB / 0.6042 GB