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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 308.1 MB, free: 4.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 184.5 kB / 376.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 98.38 kB / 0.7479 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001072, allocations: 59.92 kB / 0.8704 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3827, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.003457/0.3862, allocations: 0.7634 MB / 0.983 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.388, allocations: 0.8243 MB / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.3881, allocations: 0 / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.6e-05/0.3882, allocations: 3.984 kB / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.773e-05/0.3883, allocations: 7.938 kB / 0.9838 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3885, allocations: 11.98 kB / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3886, allocations: 43.86 kB / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3888, allocations: 15.92 kB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.3889, allocations: 15.98 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.3889, allocations: 19.91 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.389, allocations: 4 kB / 0.9839 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.389, allocations: 0 / 0.9839 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.389, allocations: 11.94 kB / 0.9839 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.3891, allocations: 15.92 kB / 0.9839 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3892, allocations: 39.86 kB / 0.984 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3892, allocations: 4 kB / 0.984 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3893, allocations: 4 kB / 0.984 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.3893, allocations: 0 / 0.984 GB, free: 8.527 MB / 0.7136 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.0006355/0.3899, allocations: 359.5 kB / 0.9843 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.39, allocations: 12.03 kB / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.39, allocations: 0.9375 kB / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3902, allocations: 176.2 kB / 0.9845 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3902, allocations: 8.375 kB / 0.9845 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.3902, allocations: 8.375 kB / 0.9845 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3905, allocations: 66.16 kB / 0.9846 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3905, allocations: 192 / 0.9846 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3906, allocations: 3.938 kB / 0.9846 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3906, allocations: 3.984 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.3909, allocations: 67.92 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.3914, allocations: 265 kB / 0.9849 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.3916, allocations: 62.41 kB / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.3918, allocations: 44.86 kB / 0.985 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3918, allocations: 0 / 0.985 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3918, allocations: 30.56 kB / 0.985 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3918, allocations: 0 / 0.985 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000574/0.3924, allocations: 137.5 kB / 0.9852 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3925, allocations: 51.41 kB / 0.9852 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3926, allocations: 113.8 kB / 0.9853 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3926, allocations: 25.7 kB / 0.9854 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.3927, allocations: 84.14 kB / 0.9854 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.3927, allocations: 7.906 kB / 0.9854 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.3928, allocations: 17.7 kB / 0.9855 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3929, allocations: 318.8 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.393, allocations: 27.97 kB / 0.9858 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3932, allocations: 35.95 kB / 0.9858 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.3935, allocations: 68.78 kB / 0.9859 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3935, allocations: 7.938 kB / 0.9859 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003228/0.3938, allocations: 97.53 kB / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3938, allocations: 6.188 kB / 0.986 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3938, allocations: 0 / 0.986 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3939, allocations: 3.938 kB / 0.986 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.394, allocations: 15.98 kB / 0.986 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.394, allocations: 4 kB / 0.986 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.3941, allocations: 15.97 kB / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3941, allocations: 3.938 kB / 0.986 GB, free: 6.195 MB / 0.7136 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 9.962e-05/0.3942, allocations: 117.8 kB / 0.9861 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3943, allocations: 4 kB / 0.9862 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.3946, allocations: 109.5 kB / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3947, allocations: 0 / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3947, allocations: 0 / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3947, allocations: 0 / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3949, allocations: 173.5 kB / 0.9864 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3949, allocations: 0 / 0.9864 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.894e-05/0.395, allocations: 19.92 kB / 0.9864 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.395, allocations: 0 / 0.9864 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.395, allocations: 4 kB / 0.9864 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.395, allocations: 8 kB / 0.9865 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.395, allocations: 384 / 0.9865 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.3958, allocations: 0.7824 MB / 0.9872 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.3959, allocations: 81.02 kB / 0.9873 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3959, allocations: 0 / 0.9873 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.396, allocations: 11.98 kB / 0.9873 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3961, allocations: 11.92 kB / 0.9873 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3961, allocations: 7.938 kB / 0.9873 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.3961, allocations: 83.28 kB / 0.9874 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3962, allocations: 0 / 0.9874 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003159/0.3965, allocations: 11.98 kB / 0.9874 GB, free: 4.637 MB / 0.7136 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.0002437/0.3967, allocations: 99.25 kB / 0.9875 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.3971, allocations: 67.92 kB / 0.9876 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3971, allocations: 0 / 0.9876 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.3973, allocations: 39.91 kB / 0.9876 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3977, allocations: 11.98 kB / 0.9876 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.3981, allocations: 238.2 kB / 0.9879 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3984, allocations: 0.6809 MB / 0.9885 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.3984, allocations: 8 kB / 0.9885 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.3985, allocations: 7.438 kB / 0.9885 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.3985, allocations: 0 / 0.9885 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of Templates: time 0.002936/0.4014, allocations: 0.5598 MB / 0.9891 GB, free: 2.867 MB / 0.7136 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)