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.001328/0.001328, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.699/1.699, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.784/1.784, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001487/0.001488, allocations: 66.86 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3027, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002325/0.3051, allocations: 0.6595 MB / 0.784 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3063, allocations: 0.8088 MB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.3063, allocations: 0 / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.3064, allocations: 7.938 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.3065, allocations: 4 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3067, allocations: 15.92 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.552e-05/0.3068, allocations: 23.92 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3069, allocations: 8 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.307, allocations: 7.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.3071, allocations: 19.91 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3071, allocations: 0 / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.3071, allocations: 4 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.3071, allocations: 7.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.3072, allocations: 11.92 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.713e-05/0.3072, allocations: 19.97 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3072, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3073, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3073, allocations: 0 / 0.7849 GB, free: 11.86 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.0004872/0.3078, allocations: 343.6 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3078, allocations: 8.031 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.3079, allocations: 4.938 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.308, allocations: 160.4 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.308, allocations: 8.375 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3081, allocations: 4.375 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.3083, allocations: 46.23 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3083, allocations: 4.188 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3083, allocations: 3.938 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3083, allocations: 0 / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.3085, allocations: 35.89 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3089, allocations: 252.9 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.309, allocations: 46.48 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.3091, allocations: 16.91 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3091, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3092, allocations: 42.5 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3092, allocations: 0 / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003538/0.3095, allocations: 77.64 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3096, allocations: 51.41 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.3097, allocations: 105.8 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3097, allocations: 25.7 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.3097, allocations: 84.27 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3098, allocations: 11.89 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3098, allocations: 13.72 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3099, allocations: 310.8 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.31, allocations: 19.97 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.3101, allocations: 15.98 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3102, allocations: 40.83 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3102, allocations: 4 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.3104, allocations: 69.59 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3105, allocations: 4 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3105, allocations: 4 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3105, allocations: 0 / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.3106, allocations: 8.016 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3106, allocations: 4 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.3107, allocations: 4 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3107, allocations: 7.875 kB / 0.7867 GB, free: 9.836 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.307e-05/0.3108, allocations: 117.8 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3108, allocations: 0 / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.311, allocations: 80.72 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3111, allocations: 0 / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3111, allocations: 0 / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3111, allocations: 0 / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.3112, allocations: 157.6 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3112, allocations: 3.984 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.3113, allocations: 12 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3113, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.3113, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3113, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3113, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3116, allocations: 175.3 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.3116, allocations: 85.03 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3116, allocations: 0 / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.3117, allocations: 4 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.3118, allocations: 7.984 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3118, allocations: 4.031 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.3118, allocations: 83.28 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3118, allocations: 0 / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002091/0.3121, allocations: 4 kB / 0.7874 GB, free: 9.012 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.0001832/0.3123, allocations: 98.48 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3125, allocations: 39.95 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3125, allocations: 4.062 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.3126, allocations: 19.92 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.313, allocations: 7.938 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.3134, allocations: 101.5 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3137, allocations: 0.6768 MB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.3138, allocations: 4.062 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.3138, allocations: 11.44 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.3138, allocations: 0 / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of Templates: time 0.002582/0.3164, allocations: 446.4 kB / 0.7888 GB, free: 7.562 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)