Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 183.4 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 0.5786 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 87.77 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003161, allocations: 14.31 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1963, allocations: 106.3 MB / 0.9015 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001438/0.1978, allocations: 1.14 MB / 0.9026 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.1981, allocations: 141.7 kB / 0.9027 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1982, allocations: 3.938 kB / 0.9027 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1982, allocations: 3.938 kB / 0.9027 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.1983, allocations: 15.92 kB / 0.9027 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.1984, allocations: 8 kB / 0.9028 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.1985, allocations: 47.84 kB / 0.9028 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.1986, allocations: 4 kB / 0.9028 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.1987, allocations: 15.92 kB / 0.9028 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.1987, allocations: 19.92 kB / 0.9028 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1987, allocations: 3.984 kB / 0.9028 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.1988, allocations: 0 / 0.9028 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1988, allocations: 15.98 kB / 0.9029 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.1988, allocations: 41.58 kB / 0.9029 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.295e-05/0.1989, allocations: 19.94 kB / 0.9029 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1989, allocations: 0 / 0.9029 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.1989, allocations: 0 / 0.9029 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1989, allocations: 3.938 kB / 0.9029 GB, free: 62.31 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004319/0.1994, allocations: 375.6 kB / 0.9033 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1994, allocations: 8.031 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1995, allocations: 4.938 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.565e-05/0.1995, allocations: 164.3 kB / 0.9034 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1996, allocations: 8.375 kB / 0.9035 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1996, allocations: 384 / 0.9035 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1998, allocations: 86.2 kB / 0.9035 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1998, allocations: 192 / 0.9035 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1999, allocations: 3.938 kB / 0.9035 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1999, allocations: 0 / 0.9035 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.2001, allocations: 87.92 kB / 0.9036 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.2005, allocations: 256.9 kB / 0.9039 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2007, allocations: 78.47 kB / 0.9039 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.2008, allocations: 56.91 kB / 0.904 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.2008, allocations: 3.984 kB / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2009, allocations: 30.56 kB / 0.904 GB, free: 61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2009, allocations: 0 / 0.904 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005187/0.2014, allocations: 169.4 kB / 0.9042 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.2014, allocations: 55.41 kB / 0.9042 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.662e-05/0.2015, allocations: 109.8 kB / 0.9043 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2015, allocations: 25.7 kB / 0.9044 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.2015, allocations: 96.06 kB / 0.9045 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2016, allocations: 3.906 kB / 0.9045 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.2016, allocations: 0 / 0.9045 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.2016, allocations: 318.8 kB / 0.9048 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.2018, allocations: 43.95 kB / 0.9048 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2019, allocations: 47.91 kB / 0.9049 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.2022, allocations: 101 kB / 0.905 GB, free: 60 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2022, allocations: 3.938 kB / 0.905 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002936/0.2025, allocations: 125.5 kB / 0.9051 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2025, allocations: 4 kB / 0.9051 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2025, allocations: 0 / 0.9051 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2025, allocations: 0 / 0.9051 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2027, allocations: 23.97 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2027, allocations: 4 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.2028, allocations: 15.98 kB / 0.9051 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2028, allocations: 0 / 0.9051 GB, free: 59.82 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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 5.628e-05/0.2028, allocations: 117.8 kB / 0.9052 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.2029, allocations: 4 kB / 0.9052 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.2032, allocations: 129.5 kB / 0.9054 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2032, allocations: 4 kB / 0.9054 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2032, allocations: 0 / 0.9054 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2032, allocations: 3.984 kB / 0.9054 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2034, allocations: 169.6 kB / 0.9055 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2034, allocations: 0 / 0.9055 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.2035, allocations: 19.98 kB / 0.9056 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2035, allocations: 0 / 0.9056 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.2035, allocations: 0 / 0.9056 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2035, allocations: 0 / 0.9056 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2035, allocations: 8 kB / 0.9056 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.2038, allocations: 227.2 kB / 0.9058 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.2039, allocations: 77.11 kB / 0.9059 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2039, allocations: 0 / 0.9059 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.204, allocations: 15.98 kB / 0.9059 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.204, allocations: 11.98 kB / 0.9059 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2041, allocations: 4 kB / 0.9059 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.574e-05/0.2041, allocations: 83.27 kB / 0.906 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2041, allocations: 0 / 0.906 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001949/0.2043, allocations: 12 kB / 0.906 GB, free: 58.85 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.000123/0.2044, allocations: 99.25 kB / 0.9061 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.2047, allocations: 87.92 kB / 0.9061 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2047, allocations: 0 / 0.9061 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2049, allocations: 51.91 kB / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2052, allocations: 11.92 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.2055, allocations: 174.1 kB / 0.9064 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2056, allocations: 0.6848 MB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.2057, allocations: 11.44 kB / 0.9071 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2057, allocations: 0 / 0.9071 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.001765/0.2074, allocations: 0.7453 MB / 0.9078 GB, free: 56.94 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)