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.001438/0.001438, allocations: 101.3 kB / 16.29 MB, free: 6.012 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.0015/0.0015, allocations: 184 kB / 17.22 MB, free: 5.621 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.571/1.571, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.927/1.927, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.002567/0.002567, allocations: 67.91 kB / 0.6722 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2904, allocations: 114.6 MB / 0.7841 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.00264/0.2931, allocations: 0.6628 MB / 0.7847 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2944, allocations: 0.8049 MB / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.2945, allocations: 0 / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.2946, allocations: 3.938 kB / 0.7855 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.761e-05/0.2947, allocations: 11.92 kB / 0.7855 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.2949, allocations: 7.984 kB / 0.7855 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.2951, allocations: 27.92 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.2953, allocations: 8 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.2953, allocations: 4 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.774e-05/0.2954, allocations: 15.92 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.2955, allocations: 0 / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.2955, allocations: 4 kB / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.2955, allocations: 4 kB / 0.7856 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.2956, allocations: 7.922 kB / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.2958, allocations: 31.89 kB / 0.7856 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.2958, allocations: 4 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2958, allocations: 0 / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.2958, allocations: 0 / 0.7857 GB, free: 2.156 MB / 0.6544 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.0008316/0.2966, allocations: 335.7 kB / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.342e-05/0.2967, allocations: 8.031 kB / 0.786 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.2968, allocations: 4.938 kB / 0.786 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2971, allocations: 164.3 kB / 0.7861 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.2971, allocations: 384 / 0.7861 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2971, allocations: 8.375 kB / 0.7861 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.2974, allocations: 54.17 kB / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2975, allocations: 4.188 kB / 0.7862 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.2975, allocations: 3.938 kB / 0.7862 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2975, allocations: 0 / 0.7862 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2977, allocations: 31.95 kB / 0.7862 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.2983, allocations: 240.9 kB / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.2985, allocations: 54.47 kB / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.2986, allocations: 20.91 kB / 0.7865 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.2987, allocations: 0 / 0.7865 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.2987, allocations: 30.56 kB / 0.7866 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.2987, allocations: 0 / 0.7866 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004911/0.2992, allocations: 85.55 kB / 0.7867 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.2993, allocations: 55.34 kB / 0.7867 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2995, allocations: 109.8 kB / 0.7868 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2995, allocations: 25.7 kB / 0.7868 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.2996, allocations: 84.14 kB / 0.7869 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.2996, allocations: 3.906 kB / 0.7869 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.2997, allocations: 17.84 kB / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.2999, allocations: 310.8 kB / 0.7872 GB, free: 328 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3, allocations: 19.97 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.3001, allocations: 15.98 kB / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3002, allocations: 36.83 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3002, allocations: 8 kB / 0.7873 GB, free: 244 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002242/0.3005, allocations: 73.53 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3005, allocations: 4 kB / 0.7874 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3005, allocations: 0 / 0.7874 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3006, allocations: 4 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3007, allocations: 7.984 kB / 0.7874 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3007, allocations: 0 / 0.7874 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.3008, allocations: 12.02 kB / 0.7874 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3008, allocations: 0 / 0.7874 GB, free: 136 kB / 0.6544 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 0.0001302/0.3009, allocations: 113.8 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.301, allocations: 0 / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5071/0.8081, allocations: 68.05 kB / 0.7876 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.8082, allocations: 1.031 kB / 0.7876 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.8082, allocations: 0 / 0.7876 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8082, allocations: 0.7188 kB / 0.7876 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.8085, allocations: 158.5 kB / 0.7877 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8085, allocations: 3.906 kB / 0.7877 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.8086, allocations: 13.39 kB / 0.7877 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.8086, allocations: 0 / 0.7877 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.8086, allocations: 5.766 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.8086, allocations: 0.6562 kB / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8087, allocations: 0 / 0.7878 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.8089, allocations: 163.4 kB / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.8089, allocations: 83.86 kB / 0.788 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.809, allocations: 5.172 kB / 0.788 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.8091, allocations: 6.891 kB / 0.788 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.8091, allocations: 4.625 kB / 0.788 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.8091, allocations: 4.031 kB / 0.788 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.8092, allocations: 80.77 kB / 0.7881 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8092, allocations: 0 / 0.7881 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002815/0.8095, allocations: 2.625 kB / 0.7881 GB, free: 48.07 MB / 0.6544 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.0001831/0.8097, allocations: 101.3 kB / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.8099, allocations: 42 kB / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8099, allocations: 0 / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.81, allocations: 20.58 kB / 0.7882 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.8103, allocations: 6.125 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.8107, allocations: 100.1 kB / 0.7883 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.8108, allocations: 0.6833 MB / 0.789 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.8109, allocations: 0 / 0.789 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.8109, allocations: 7.438 kB / 0.789 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.8109, allocations: 4.969 kB / 0.789 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.002364/0.8133, allocations: 434.2 kB / 0.7894 GB, free: 47.2 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)