Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.48/2.48, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.002077/0.002077, allocations: 181.2 kB / 325.6 MB, free: 2.848 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.613/2.613, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.001113/0.001113, allocations: 102.5 kB / 0.6811 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006366, allocations: 15.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2772, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002251/0.2795, allocations: 1.08 MB / 0.9 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004512/0.2801, allocations: 121.4 kB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.2802, allocations: 4 kB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.2802, allocations: 0 / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.2803, allocations: 8 kB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2805, allocations: 0 / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.2806, allocations: 15.97 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2807, allocations: 11.94 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.2808, allocations: 7.938 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.2809, allocations: 3.984 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2809, allocations: 4 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.2809, allocations: 7.938 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.281, allocations: 7.984 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.281, allocations: 29.64 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.044e-05/0.2811, allocations: 15.95 kB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2811, allocations: 0 / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2811, allocations: 0 / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2811, allocations: 0 / 0.9002 GB, free: 64.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005551/0.2817, allocations: 336.5 kB / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.2818, allocations: 16.03 kB / 0.9005 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.2818, allocations: 3.984 kB / 0.9005 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.282, allocations: 163 kB / 0.9007 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.282, allocations: 4 kB / 0.9007 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.282, allocations: 0 / 0.9007 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.2823, allocations: 53.67 kB / 0.9007 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2824, allocations: 0 / 0.9007 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2824, allocations: 7.984 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2824, allocations: 0 / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.2828, allocations: 43.91 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.2832, allocations: 253.1 kB / 0.901 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.2835, allocations: 46.56 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.2835, allocations: 0 / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2836, allocations: 30.56 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.2836, allocations: 0 / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007088/0.2843, allocations: 101.6 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2844, allocations: 51.41 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.2845, allocations: 113.9 kB / 0.9014 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2845, allocations: 25.7 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.2846, allocations: 84.08 kB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.2847, allocations: 7.906 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.2847, allocations: 0 / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.2848, allocations: 314.8 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.285, allocations: 19.97 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2852, allocations: 27.98 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2854, allocations: 15.98 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2854, allocations: 0 / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004647/0.2859, allocations: 85.66 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.286, allocations: 13.19 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.286, allocations: 0 / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.286, allocations: 3.938 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2862, allocations: 11.98 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2862, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2864, allocations: 12.03 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2864, allocations: 3.953 kB / 0.902 GB, free: 62.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.135e-05/0.2865, allocations: 109.8 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.2866, allocations: 4 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.2871, allocations: 84.72 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.2871, allocations: 4 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2871, allocations: 0 / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2871, allocations: 0 / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.2874, allocations: 161.5 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2874, allocations: 3.984 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.2876, allocations: 8 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2876, allocations: 4.031 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.2876, allocations: 0 / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2877, allocations: 0 / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2877, allocations: 4 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.2881, allocations: 175.5 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.2882, allocations: 81.09 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2882, allocations: 4 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2884, allocations: 8 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.2885, allocations: 7.922 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.2885, allocations: 0 / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.2886, allocations: 83.28 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2886, allocations: 4.031 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005143/0.2891, allocations: 4 kB / 0.9027 GB, free: 61.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001816/0.2893, allocations: 95.25 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.2897, allocations: 51.95 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2898, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.29, allocations: 19.98 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.2904, allocations: 11.95 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.2908, allocations: 112.7 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.291, allocations: 0.6848 MB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.291, allocations: 0 / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.2911, allocations: 7.438 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2911, allocations: 0 / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.003694/0.2948, allocations: 361.5 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB