Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.64/1.64, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.0009647/0.0009649, allocations: 190.1 kB / 371.2 MB, free: 10.82 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.758/1.758, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008702/0.0008702, allocations: 87.53 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006886/0.0006891, allocations: 14.03 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2774, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001273/0.2788, allocations: 430.8 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.2801, allocations: 0.8166 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.2802, allocations: 0 / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.2802, allocations: 3.938 kB / 0.9799 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.2803, allocations: 11.86 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.2806, allocations: 11.98 kB / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2807, allocations: 35.92 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2809, allocations: 11.98 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.281, allocations: 15.88 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.2811, allocations: 19.91 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.2811, allocations: 4 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.2811, allocations: 0 / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.2812, allocations: 11.94 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.2812, allocations: 25.7 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2813, allocations: 31.92 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.2813, allocations: 0 / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2814, allocations: 4 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2814, allocations: 0 / 0.9801 GB, free: 26.73 MB / 0.6198 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.0006122/0.282, allocations: 367.7 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.2821, allocations: 12.03 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.2821, allocations: 4.844 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2823, allocations: 172.3 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2823, allocations: 384 / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.2823, allocations: 4.375 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.2826, allocations: 82.14 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2827, allocations: 192 / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.2827, allocations: 15.92 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2827, allocations: 0 / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.283, allocations: 79.94 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.2835, allocations: 268.9 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.2837, allocations: 78.41 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.2839, allocations: 44.92 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.2839, allocations: 3.984 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.284, allocations: 34.56 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.284, allocations: 0 / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005691/0.2845, allocations: 157.6 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2846, allocations: 51.41 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.2847, allocations: 117.8 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2847, allocations: 25.7 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.2848, allocations: 92.12 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.2848, allocations: 11.75 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.2848, allocations: 4 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.2849, allocations: 314.8 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.285, allocations: 43.95 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.2852, allocations: 39.97 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2854, allocations: 92.78 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2854, allocations: 3.938 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002953/0.2857, allocations: 117.6 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2858, allocations: 10.19 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2858, allocations: 0 / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2858, allocations: 7.875 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2859, allocations: 23.97 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.286, allocations: 4 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.286, allocations: 19.98 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2861, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.2861, allocations: 121.8 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.2862, allocations: 3.906 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.2865, allocations: 129.5 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2866, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2866, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2866, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2868, allocations: 181.5 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2868, allocations: 0 / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.2869, allocations: 27.92 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2869, allocations: 384 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2869, allocations: 0 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2869, allocations: 0 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2869, allocations: 4 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.2873, allocations: 223.4 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.2873, allocations: 85.02 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2873, allocations: 0 / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.2874, allocations: 15.98 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.2875, allocations: 7.984 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.2875, allocations: 0 / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.2875, allocations: 87.27 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.62e-07/0.2875, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002073/0.2877, allocations: 11.94 kB / 0.9831 GB, free: 23.28 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.2879, allocations: 103.2 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.2882, allocations: 91.92 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2882, allocations: 0 / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2883, allocations: 43.97 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2886, allocations: 17.61 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.289, allocations: 128.7 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.2891, allocations: 0.677 MB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.2892, allocations: 8 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.2892, allocations: 11.38 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2892, allocations: 0 / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.002649/0.2919, allocations: 0.5278 MB / 0.9847 GB, free: 21.62 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)