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.001446/0.001446, allocations: 108 kB / 15.6 MB, free: 132 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.001603/0.001603, allocations: 191.5 kB / 16.53 MB, free: 6.391 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.762/1.762, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.892/1.892, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001804/0.001804, allocations: 72.48 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3613, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002297/0.3637, allocations: 0.6984 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3647, allocations: 0.8282 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.3648, allocations: 4 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.3648, allocations: 0 / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.3649, allocations: 15.86 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3651, allocations: 15.98 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.3652, allocations: 39.92 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3653, allocations: 15.97 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.3654, allocations: 19.86 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.3655, allocations: 23.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.3655, allocations: 8 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.3655, allocations: 4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.3656, allocations: 7.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.3656, allocations: 19.86 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.3657, allocations: 39.86 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3657, allocations: 0 / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3657, allocations: 0 / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3657, allocations: 0 / 0.7851 GB, free: 11.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005594/0.3663, allocations: 367.7 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3664, allocations: 8.031 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3664, allocations: 8.844 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3665, allocations: 168.2 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3666, allocations: 8.359 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.3666, allocations: 384 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.3668, allocations: 66.22 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3668, allocations: 192 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3669, allocations: 15.92 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3669, allocations: 3.938 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.3672, allocations: 59.94 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.3676, allocations: 261 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3678, allocations: 66.47 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.368, allocations: 32.92 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.368, allocations: 0 / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.368, allocations: 42.48 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.368, allocations: 0 / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005528/0.3686, allocations: 129.5 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3686, allocations: 51.41 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.3687, allocations: 113.8 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3687, allocations: 25.7 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.3688, allocations: 96.03 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.3688, allocations: 3.906 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.3689, allocations: 17.72 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.369, allocations: 310.8 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3692, allocations: 35.95 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.3693, allocations: 31.91 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.3696, allocations: 72.78 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.3696, allocations: 3.938 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003093/0.3699, allocations: 93.62 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.37, allocations: 8 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.37, allocations: 0 / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.37, allocations: 0 / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3701, allocations: 23.97 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3701, allocations: 0 / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.3702, allocations: 15.89 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3702, allocations: 3.938 kB / 0.7871 GB, free: 9.363 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 (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.632e-05/0.3703, allocations: 117.7 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.3703, allocations: 4 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.3707, allocations: 105.8 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3707, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3707, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3707, allocations: 4.031 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3709, allocations: 177.5 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3709, allocations: 4 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.371, allocations: 19.98 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.371, allocations: 0 / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.371, allocations: 0 / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3711, allocations: 0 / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3711, allocations: 0 / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.3714, allocations: 211.2 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3715, allocations: 77.11 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3715, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3716, allocations: 15.92 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.3716, allocations: 7.984 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.3717, allocations: 4 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.3717, allocations: 83.27 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3717, allocations: 0 / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002129/0.3719, allocations: 16 kB / 0.7879 GB, free: 8.43 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 (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.0001362/0.3721, allocations: 95.25 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.3724, allocations: 71.86 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3724, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3726, allocations: 35.97 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.373, allocations: 15.92 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.3733, allocations: 125.4 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3736, allocations: 0.6807 MB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.3737, allocations: 4 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.3737, allocations: 15.42 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3737, allocations: 0 / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.002927/0.3767, allocations: 0.6922 MB / 0.7896 GB, free: 6.648 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)