Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 109.5 kB / 16.29 MB, free: 6.023 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.001324/0.001324, allocations: 184.9 kB / 17.22 MB, free: 5.633 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.566/1.566, 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.961/1.961, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001542/0.001542, allocations: 71.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3566, allocations: 114.6 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002736/0.3594, allocations: 0.6909 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3607, allocations: 0.8321 MB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.3607, allocations: 0 / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.3608, allocations: 3.938 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.3609, allocations: 11.92 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.3611, allocations: 11.97 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.3612, allocations: 43.92 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.3614, allocations: 11.98 kB / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.3614, allocations: 19.88 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.3615, allocations: 27.91 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3615, allocations: 0 / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3615, allocations: 4 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.3616, allocations: 15.92 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.3616, allocations: 19.92 kB / 0.7858 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.771e-05/0.3617, allocations: 35.88 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3617, allocations: 0 / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3617, allocations: 0 / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3618, allocations: 0 / 0.7858 GB, free: 2.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005866/0.3623, allocations: 359.7 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3624, allocations: 12.02 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3624, allocations: 8.844 kB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3626, allocations: 164.3 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3626, allocations: 8.312 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3627, allocations: 8.312 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3629, allocations: 70.16 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3629, allocations: 4.188 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.363, allocations: 3.938 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.363, allocations: 4 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.3632, allocations: 59.92 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.3637, allocations: 264.9 kB / 0.7867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.3639, allocations: 66.41 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3641, allocations: 40.92 kB / 0.7868 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.3641, allocations: 3.984 kB / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3642, allocations: 34.56 kB / 0.7869 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3642, allocations: 0 / 0.7869 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.000517/0.3647, allocations: 133.6 kB / 0.787 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3648, allocations: 51.41 kB / 0.787 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3649, allocations: 109.8 kB / 0.7871 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3649, allocations: 29.64 kB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.365, allocations: 96.05 kB / 0.7873 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.3651, allocations: 7.891 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3651, allocations: 13.72 kB / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.3654, allocations: 314.8 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3655, allocations: 35.95 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3657, allocations: 27.97 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6366/1.002, allocations: 71.34 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.002, allocations: 3.75 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003467/1.003, allocations: 92.8 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.003, allocations: 6.188 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.003, allocations: 0 / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.003, allocations: 3.438 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.003, allocations: 18.3 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/1.003, allocations: 0 / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/1.003, allocations: 14.48 kB / 0.7878 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/1.003, allocations: 3.234 kB / 0.7878 GB, free: 48.55 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 (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 7.936e-05/1.003, allocations: 113.2 kB / 0.7879 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/1.003, allocations: 10.22 kB / 0.788 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/1.003, allocations: 101.3 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.004, allocations: 0.5938 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.004, allocations: 6.625 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.004, allocations: 1.781 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/1.004, allocations: 173.7 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.004, allocations: 1.5 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/1.004, allocations: 18.14 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/1.004, allocations: 1.688 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/1.004, allocations: 2.875 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.004, allocations: 2.906 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.004, allocations: 0 / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/1.004, allocations: 200.9 kB / 0.7884 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/1.004, allocations: 88.09 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/1.004, allocations: 0 / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/1.004, allocations: 12.52 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/1.004, allocations: 2.719 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/1.004, allocations: 2.844 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.055e-05/1.004, allocations: 88.16 kB / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.005, allocations: 0 / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002155/1.005, allocations: 9.406 kB / 0.7886 GB, free: 47.9 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 (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.0001508/1.005, allocations: 109.2 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003312/1.005, allocations: 68.81 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.005, allocations: 1.719 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/1.005, allocations: 35.58 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/1.006, allocations: 5.5 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/1.006, allocations: 125.3 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/1.006, allocations: 0.6801 MB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.264e-05/1.006, allocations: 2.875 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/1.006, allocations: 10.47 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/1.006, allocations: 0 / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.003108/1.01, allocations: 0.6772 MB / 0.7903 GB, free: 47.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)