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.001095/0.001095, allocations: 104.6 kB / 16.36 MB, free: 5.961 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.001064/0.001065, allocations: 195.2 kB / 17.3 MB, free: 5.578 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.888/1.888, allocations: 292.3 MB / 0.5496 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.001549/0.00155, allocations: 72.47 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2223, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001954/0.2243, allocations: 0.6559 MB / 0.7854 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.2251, allocations: 0.8049 MB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.2252, allocations: 4 kB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2252, allocations: 11.92 kB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.2253, allocations: 3.938 kB / 0.7863 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.2254, allocations: 4 kB / 0.7863 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.636e-05/0.2255, allocations: 23.92 kB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.2256, allocations: 7.984 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.2257, allocations: 7.984 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.2257, allocations: 15.92 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2257, allocations: 0 / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.2258, allocations: 4 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.2258, allocations: 8 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.2258, allocations: 11.88 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.2259, allocations: 23.91 kB / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2259, allocations: 0 / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2259, allocations: 0 / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2259, allocations: 0 / 0.7864 GB, free: 1.574 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.0004116/0.2263, allocations: 339.4 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2264, allocations: 12.03 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.2264, allocations: 4.875 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.2265, allocations: 172.4 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2265, allocations: 4.375 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2265, allocations: 4.375 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2267, allocations: 50.23 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2267, allocations: 192 / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2267, allocations: 3.938 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2267, allocations: 0 / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.2269, allocations: 31.97 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.2272, allocations: 252.9 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.2273, allocations: 38.5 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.2274, allocations: 20.91 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.2274, allocations: 0 / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2275, allocations: 42.55 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2275, allocations: 0 / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003233/0.2278, allocations: 77.5 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2279, allocations: 51.41 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.2279, allocations: 105.8 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.228, allocations: 25.7 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.228, allocations: 88.27 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.228, allocations: 3.906 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.2281, allocations: 17.7 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4511/0.6792, allocations: 310.8 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.6794, allocations: 15.52 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.6795, allocations: 16.36 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.6796, allocations: 39.23 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6797, allocations: 0.875 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002146/0.6799, allocations: 74.86 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6799, allocations: 5.812 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6799, allocations: 0 / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.6799, allocations: 0 / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.6801, allocations: 12.72 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6801, allocations: 0 / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.6801, allocations: 7.078 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.6801, allocations: 4.172 kB / 0.7881 GB, free: 48.67 MB / 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 8.259e-05/0.6802, allocations: 113.4 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.6803, allocations: 0.5625 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.6805, allocations: 71.19 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6805, allocations: 1.406 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6805, allocations: 3.938 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6805, allocations: 2.062 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.6807, allocations: 158.5 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6807, allocations: 1 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.6808, allocations: 11.14 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6808, allocations: 1.938 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6808, allocations: 3.719 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.6808, allocations: 0 / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6808, allocations: 3.938 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.681, allocations: 174.8 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.6811, allocations: 80.62 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.6811, allocations: 6.125 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.6812, allocations: 5.875 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.6812, allocations: 12.64 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.6812, allocations: 0 / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.6812, allocations: 84.44 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6812, allocations: 0 / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002217/0.6815, allocations: 2.781 kB / 0.7888 GB, free: 48.03 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.0001463/0.6816, allocations: 98.59 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.6818, allocations: 37.34 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6819, allocations: 0 / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.6819, allocations: 21.72 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.6823, allocations: 6.594 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.6825, allocations: 99.11 kB / 0.7891 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.6827, allocations: 0.6808 MB / 0.7897 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.6827, allocations: 0 / 0.7897 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.6827, allocations: 7.438 kB / 0.7897 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.6827, allocations: 1.875 kB / 0.7897 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.002397/0.6851, allocations: 440.2 kB / 0.7902 GB, free: 47.15 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)