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.001386/0.001386, allocations: 109.4 kB / 15.69 MB, free: 128 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.00152/0.00152, allocations: 185.7 kB / 16.62 MB, free: 6.613 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.903/1.903, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002402/0.002402, allocations: 67.98 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3303, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.00226/0.3326, allocations: 0.6632 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3338, allocations: 0.8088 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3339, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.3339, allocations: 3.984 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.334, allocations: 3.938 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.3342, allocations: 8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.3343, allocations: 23.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3344, allocations: 15.94 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.3345, allocations: 3.984 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.3346, allocations: 15.92 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3346, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.3346, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.3346, allocations: 7.984 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.3347, allocations: 7.938 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.98e-05/0.3348, allocations: 19.97 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3348, allocations: 0 / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3348, allocations: 0 / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3348, allocations: 4 kB / 0.7857 GB, free: 11.1 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.0005174/0.3353, allocations: 347.3 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3354, allocations: 11.97 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.3354, allocations: 0.9375 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3356, allocations: 168.4 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3356, allocations: 384 / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3356, allocations: 384 / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3358, allocations: 54.23 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3358, allocations: 192 / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3359, allocations: 3.938 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3359, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.336, allocations: 31.97 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.3365, allocations: 252.8 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3367, allocations: 42.5 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.3368, allocations: 20.91 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3368, allocations: 4 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3369, allocations: 34.55 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3369, allocations: 0 / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003898/0.3373, allocations: 81.59 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3373, allocations: 51.41 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.3374, allocations: 105.8 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3375, allocations: 25.7 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3375, allocations: 84.14 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3375, allocations: 7.906 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3376, allocations: 13.7 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3377, allocations: 315 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.3378, allocations: 19.98 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.3379, allocations: 11.98 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.338, allocations: 44.81 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.338, allocations: 4 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001791/0.3382, allocations: 73.61 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3382, allocations: 4 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3382, allocations: 3.938 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3383, allocations: 3.984 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.3384, allocations: 8 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3384, allocations: 0 / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.3384, allocations: 7.984 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3384, allocations: 3.938 kB / 0.7875 GB, free: 9.066 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 7.724e-05/0.3385, allocations: 113.8 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3386, allocations: 4 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.3388, allocations: 72.72 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3388, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.3388, allocations: 3.984 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3388, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.339, allocations: 157.6 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.339, allocations: 8 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.3391, allocations: 7.984 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3391, allocations: 0 / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3391, allocations: 0 / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3391, allocations: 0 / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3391, allocations: 4 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3393, allocations: 167.4 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.3394, allocations: 85.05 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3394, allocations: 0 / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.3395, allocations: 7.984 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.3396, allocations: 3.938 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3396, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.3396, allocations: 83.28 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3396, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00021/0.3398, allocations: 4 kB / 0.7881 GB, free: 8.254 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.0001998/0.3401, allocations: 107.3 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3403, allocations: 31.97 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3403, allocations: 0 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.3404, allocations: 23.97 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3407, allocations: 10.72 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.3411, allocations: 113.4 kB / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3415, allocations: 0.6729 MB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.3416, allocations: 4 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.3416, allocations: 11.42 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3416, allocations: 0 / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of Templates: time 0.003031/0.3446, allocations: 446.9 kB / 0.7895 GB, free: 6.793 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)