Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.277/5.277, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002481/0.002481, allocations: 361.8 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.668/4.668, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001804/0.001803, allocations: 187.9 kB / 1.226 GB, free: 36 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005189, allocations: 13.06 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2698, allocations: 115.3 MB / 1.461 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001013/0.2709, allocations: 477.5 kB / 1.462 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2719, allocations: 0.8605 MB / 1.463 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.272, allocations: 0 / 1.463 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.272, allocations: 3.938 kB / 1.463 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.2721, allocations: 11.92 kB / 1.463 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.2723, allocations: 27.91 kB / 1.463 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2724, allocations: 71.83 kB / 1.463 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2725, allocations: 23.97 kB / 1.463 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.2726, allocations: 35.84 kB / 1.463 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.2727, allocations: 47.81 kB / 1.463 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.2728, allocations: 4 kB / 1.463 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.2728, allocations: 0 / 1.463 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2728, allocations: 15.92 kB / 1.463 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.2729, allocations: 29.7 kB / 1.463 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.273, allocations: 55.86 kB / 1.463 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.273, allocations: 0 / 1.463 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.273, allocations: 0 / 1.463 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.273, allocations: 4 kB / 1.463 GB, free: 4.957 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.0007407/0.2738, allocations: 391.3 kB / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2738, allocations: 8.031 kB / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.2739, allocations: 11.84 kB / 1.463 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.274, allocations: 190.8 kB / 1.464 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.274, allocations: 0 / 1.464 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.2741, allocations: 7.984 kB / 1.464 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.2746, allocations: 113.6 kB / 1.464 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2746, allocations: 3.984 kB / 1.464 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.2746, allocations: 8 kB / 1.464 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2747, allocations: 0 / 1.464 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.2753, allocations: 115.9 kB / 1.464 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.2761, allocations: 348.5 kB / 1.464 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2772, allocations: 134.6 kB / 1.464 GB, free: 3.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.2775, allocations: 68.75 kB / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.2776, allocations: 0 / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2776, allocations: 34.56 kB / 1.464 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.2777, allocations: 0 / 1.464 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001232/0.2789, allocations: 213.5 kB / 1.465 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2789, allocations: 55.41 kB / 1.465 GB, free: 3.105 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2791, allocations: 125.7 kB / 1.465 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2791, allocations: 25.7 kB / 1.465 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.2792, allocations: 96.11 kB / 1.465 GB, free: 2.844 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.2792, allocations: 23.66 kB / 1.465 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.2792, allocations: 0 / 1.465 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.2793, allocations: 318.8 kB / 1.465 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.2797, allocations: 63.89 kB / 1.465 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.28, allocations: 55.95 kB / 1.465 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.2804, allocations: 59.95 kB / 1.465 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2804, allocations: 0 / 1.465 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007458/0.2811, allocations: 149.5 kB / 1.465 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2812, allocations: 4 kB / 1.465 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.2812, allocations: 8 kB / 1.465 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.2812, allocations: 3.953 kB / 1.465 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.2815, allocations: 31.97 kB / 1.466 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2816, allocations: 0.5469 kB / 1.466 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.2818, allocations: 19.97 kB / 1.466 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2818, allocations: 4 kB / 1.466 GB, free: 2.102 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.0001102/0.2819, allocations: 121.8 kB / 1.466 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.282, allocations: 3.906 kB / 1.466 GB, free: 1.969 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008503/0.2829, allocations: 181.9 kB / 1.466 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2829, allocations: 7.891 kB / 1.466 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2829, allocations: 0 / 1.466 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.2829, allocations: 81.05 kB / 1.466 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.283, allocations: 8 kB / 1.466 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.2832, allocations: 27.91 kB / 1.466 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2833, allocations: 15.98 kB / 1.466 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009468/0.2843, allocations: 260.8 kB / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009567/0.2853, allocations: 338.6 kB / 1.467 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004047/0.2857, allocations: 71.94 kB / 1.467 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.686e-05/0.2858, allocations: 91.27 kB / 1.467 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of Backend: time 6.91e-07/0.2858, allocations: 0 / 1.467 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008544/0.2867, allocations: 150.3 kB / 1.467 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007938/0.2875, allocations: 0.6152 MB / 1.467 GB, free: 44 kB / 0.6042 GB Notification: Performance of Templates: time 0.005698/0.2932, allocations: 1.447 MB / 1.469 GB, free: 14.61 MB / 0.6198 GB