Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001167/0.001167, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.953 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.825/1.825, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001338/0.001338, allocations: 68.11 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002328/0.3033, allocations: 0.7282 MB / 0.7834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3044, allocations: 0.801 MB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.3045, allocations: 0 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/0.3045, allocations: 3.938 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.3046, allocations: 0 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.3048, allocations: 15.97 kB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.011e-05/0.3049, allocations: 27.88 kB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.305, allocations: 11.98 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.3051, allocations: 4 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.3051, allocations: 15.92 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3052, allocations: 0 / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.3052, allocations: 0 / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.3052, allocations: 0 / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.3052, allocations: 11.94 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.098e-05/0.3053, allocations: 23.94 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3053, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.51e-07/0.3053, allocations: 4 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3054, allocations: 0 / 0.7843 GB, free: 12.35 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005441/0.3059, allocations: 339.7 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.306, allocations: 15.97 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.306, allocations: 0.9375 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3062, allocations: 164.3 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3062, allocations: 4.375 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3062, allocations: 384 / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3064, allocations: 54.23 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3064, allocations: 4.125 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3065, allocations: 3.938 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3065, allocations: 0 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3066, allocations: 35.95 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.307, allocations: 244.9 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3072, allocations: 50.42 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.3073, allocations: 20.89 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3073, allocations: 4 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3073, allocations: 34.56 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3073, allocations: 0 / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003647/0.3077, allocations: 81.58 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.3078, allocations: 55.41 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.3079, allocations: 97.86 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.3079, allocations: 25.7 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.3079, allocations: 84.14 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.308, allocations: 11.89 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.308, allocations: 13.84 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3081, allocations: 310.8 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.3082, allocations: 19.98 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.3083, allocations: 15.97 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3085, allocations: 40.83 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3085, allocations: 4.062 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001997/0.3087, allocations: 69.53 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3087, allocations: 8 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3087, allocations: 0 / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3087, allocations: 0 / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3088, allocations: 7.984 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3089, allocations: 4 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.3089, allocations: 4.031 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.3089, allocations: 4 kB / 0.7861 GB, free: 10.32 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.258e-05/0.309, allocations: 114.4 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.309, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3093, allocations: 80.67 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3093, allocations: 0 / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3093, allocations: 3.938 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3093, allocations: 4.031 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3095, allocations: 157.6 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3095, allocations: 4 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.3096, allocations: 11.98 kB / 0.7864 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3096, allocations: 0 / 0.7864 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.3096, allocations: 0 / 0.7864 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3096, allocations: 0 / 0.7864 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3096, allocations: 3.938 kB / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3099, allocations: 167.5 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.3099, allocations: 81.05 kB / 0.7867 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3099, allocations: 4 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.31, allocations: 7.984 kB / 0.7867 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.3101, allocations: 0 / 0.7867 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.3101, allocations: 0 / 0.7867 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.3101, allocations: 87.27 kB / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.333e-06/0.3101, allocations: 4.031 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002063/0.3103, allocations: 7.938 kB / 0.7868 GB, free: 9.496 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.3105, allocations: 95.25 kB / 0.7868 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3107, allocations: 39.95 kB / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3107, allocations: 0 / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.3108, allocations: 24.05 kB / 0.7869 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3112, allocations: 11.11 kB / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.3116, allocations: 107.2 kB / 0.787 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3118, allocations: 0.677 MB / 0.7877 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.3119, allocations: 7.844 kB / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.3119, allocations: 11.44 kB / 0.7877 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.3119, allocations: 4.062 kB / 0.7877 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.002542/0.3145, allocations: 356.2 kB / 0.788 GB, free: 8.125 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)